Skip to content

Commit 397ce20

Browse files
committed
base2: Try gpt-5-chat as editor
1 parent e14c69a commit 397ce20

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.agents/base2/base2-factory.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,19 @@ ${PLACEHOLDER.GIT_CHANGES_PROMPT}
6363

6464
instructionsPrompt: `Orchestrate the completion of the coding task using your specialized sub-agents.
6565
66+
## Simple workflow
67+
68+
Use this workflow to solve a medium or complex coding task:
69+
1. Spawn a planner to come up with a plan.
70+
2. Spawn an editor to implement the plan.
71+
3. Spawn a reviewer to review the code. If changes are needed, go back to step 2.
72+
73+
Feel free to modify this workflow as needed.
74+
75+
## Guidelines
76+
6677
- You can spawn agents to help you complete the task. Iterate by spawning more agents as needed.
67-
- Don't mastermind the task. Rely on your agents to do so.
78+
- Don't mastermind the task. Rely on your agents' judgement to plan, implement, and review the code.
6879
- Give as many instructions upfront as possible to each agent so you're less likely to need to spawn them again.
6980
- You should feel free to stop and ask the user for guidance if you're stuck or don't know what to try next, or need a clarification.
7081
- When prompting an agent, realize that many agents can already see the entire conversation history, so you can be brief in prompting them without needing to include much context.

.agents/base2/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: 'anthropic/claude-sonnet-4',
11+
model: 'openai/gpt-5-chat',
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.',

common/src/old-constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@ export const shouldCacheModels = [
305305
'anthropic/claude-opus-4',
306306
'anthropic/claude-3.7-sonnet',
307307
'anthropic/claude-3.5-haiku',
308+
'z-ai/glm-4.5',
309+
'qwen/qwen3-coder',
308310
]
309311
const nonCacheableModels = [
310312
models.openrouter_grok_4,

0 commit comments

Comments
 (0)