Skip to content

Commit 9fa08b2

Browse files
committed
tweaks for orchestrator
1 parent 9f954c2 commit 9fa08b2

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

.agents/editor/editor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
const editor: SecretAgentDefinition = {
99
id: 'editor',
1010
publisher,
11-
model: 'openai/gpt-5-chat',
11+
model: 'anthropic/claude-sonnet-4.5',
1212
displayName: 'Code Editor',
1313
spawnerPrompt:
1414
'Expert code editor with access to tools to find and edit files, run terminal commands, and search the web. Can handle small to medium sized tasks, or work off of a plan for more complex tasks. For easy tasks, you can spawn this agent directly rather than invoking a scout or planner first.',

.agents/orchestrator/orchestrator.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ const definition: SecretAgentDefinition = {
3131
toolNames: ['spawn_agents', 'read_files', 'str_replace', 'write_file'],
3232
spawnableAgents: [
3333
'read-only-commander',
34-
'researcher-grok-4-fast',
35-
'decomposing-planner-lite',
36-
'editor-lite',
34+
'researcher-file-explorer',
35+
'researcher-web',
36+
'researcher-docs',
37+
'decomposing-planner',
38+
'editor',
3739
'reviewer-lite',
3840
'context-pruner',
3941
],

evals/subagents/eval-planner.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,20 @@ Evaluate how well the implementation plan matches the real commit changes. Consi
124124
},
125125
})
126126
if (judgeResult.output.type !== 'structuredOutput') {
127-
throw new Error('Error running judge agent')
127+
console.log(
128+
'Error running judge agent -- not structured output',
129+
JSON.stringify(judgeResult.output, null, 2),
130+
)
131+
// throw new Error('Error running judge agent')
132+
return {
133+
judgingResults: {
134+
reasoning: 'Error running judge agent -- not structured output',
135+
pros: '',
136+
cons: '',
137+
overallScore: 0,
138+
},
139+
agentOutput: outputString,
140+
}
128141
}
129142
const { output: judgeOutput } = judgeResult
130143
const judgingResults = (judgeOutput.value ?? {}) as {

0 commit comments

Comments
 (0)