@@ -200,31 +200,31 @@ export default {
200200 } ,
201201 } ,
202202 } ) ,
203- // new AdminForthAgent({
204- // completionAdapter: new CompletionAdapterOpenAIChatGPT({
205- // openAiApiKey: process.env.OPENAI_API_KEY as string,
206- // model: 'gpt-5.4-mini',
207- // }),
208- // maxTokens: 10000,
209- // reasoning: 'none',
210- // sessionResource: {
211- // resourceId: 'sessions',
212- // idField: 'id',
213- // titleField: 'title',
214- // turnsField: 'turns',
215- // askerIdField: 'asker_id',
216- // createdAtField: 'created_at',
217- // },
218- // turnResource: {
219- // resourceId: 'turns',
220- // idField: 'id',
221- // sessionIdField: 'session_id',
222- // createdAtField: 'created_at',
223- // promptField: 'prompt',
224- // responseField: 'response',
225- // debugField: 'dubbug',
226- // },
227- // }),
203+ new AdminForthAgent ( {
204+ completionAdapter : new CompletionAdapterOpenAIChatGPT ( {
205+ openAiApiKey : process . env . OPENAI_API_KEY as string ,
206+ model : 'gpt-5.4-mini' ,
207+ } ) ,
208+ maxTokens : 10000 ,
209+ reasoning : 'none' ,
210+ sessionResource : {
211+ resourceId : 'sessions' ,
212+ idField : 'id' ,
213+ titleField : 'title' ,
214+ turnsField : 'turns' ,
215+ askerIdField : 'asker_id' ,
216+ createdAtField : 'created_at' ,
217+ } ,
218+ turnResource : {
219+ resourceId : 'turns' ,
220+ idField : 'id' ,
221+ sessionIdField : 'session_id' ,
222+ createdAtField : 'created_at' ,
223+ promptField : 'prompt' ,
224+ responseField : 'response' ,
225+ debugField : 'dubbug' ,
226+ } ,
227+ } ) ,
228228 ] ,
229229 hooks : {
230230 create : {
0 commit comments