Skip to content

Commit 377e012

Browse files
committed
dev-demo: update agant plugin settings
1 parent d32e755 commit 377e012

1 file changed

Lines changed: 38 additions & 4 deletions

File tree

dev-demo/resources/adminuser.ts

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff 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: {

0 commit comments

Comments
 (0)