Skip to content

Commit 7be3be7

Browse files
committed
Fix the thinker agent
1 parent 98655e3 commit 7be3be7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

agents/thinker/thinker-gpt.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ const definition: SecretAgentDefinition = {
66
...thinker,
77
id: 'thinker-gpt',
88
model: 'openai/gpt-5.3-codex',
9+
outputSchema: undefined,
10+
outputMode: 'last_message',
11+
instructionsPrompt: `You are the thinker-gpt agent. Think deeply about the user request and when satisfied, write out your response.
12+
13+
The parent agent will see your response. DO NOT call any tools. No need to spawn the thinker agent, because you are already the thinker agent. Just do the thinking work now.`,
914
handleSteps: function* () {
1015
yield 'STEP_ALL'
1116
},

0 commit comments

Comments
 (0)