File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,10 +193,44 @@ export default {
193193 } ,
194194 } ) ,
195195 new AdminForthAgent ( {
196- completionAdapter : new CompletionAdapterOpenAIChatGPT ( {
197- openAiApiKey : process . env . OPENAI_API_KEY as string ,
198- model : 'gpt-5.4-mini' ,
199- } ) ,
196+ modes : [
197+ {
198+ name : 'Balanced' ,
199+ completionAdapter : new CompletionAdapterOpenAIChatGPT ( {
200+ openAiApiKey : process . env . OPENAI_API_KEY as string ,
201+ model : 'gpt-5.4-mini' ,
202+ extraRequestBodyParameters : {
203+ reasoning : {
204+ effort : 'medium' ,
205+ } ,
206+ } ,
207+ } ) ,
208+ } ,
209+ {
210+ name : 'Fast' ,
211+ completionAdapter : new CompletionAdapterOpenAIChatGPT ( {
212+ openAiApiKey : process . env . OPENAI_API_KEY as string ,
213+ model : 'gpt-5.4-mini' ,
214+ extraRequestBodyParameters : {
215+ reasoning : {
216+ effort : 'low' ,
217+ } ,
218+ } ,
219+ } ) ,
220+ } ,
221+ {
222+ name : 'Smart Thinking' ,
223+ completionAdapter : new CompletionAdapterOpenAIChatGPT ( {
224+ openAiApiKey : process . env . OPENAI_API_KEY as string ,
225+ model : 'gpt-5.4' ,
226+ extraRequestBodyParameters : {
227+ reasoning : {
228+ effort : 'xhigh' ,
229+ } ,
230+ } ,
231+ } ) ,
232+ } ,
233+ ] ,
200234 maxTokens : 10000 ,
201235 reasoning : 'none' ,
202236 sessionResource : {
You can’t perform that action at this time.
0 commit comments