You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: agents/base2/base2.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ export function createBase2(
76
76
isDefault&&'thinker',
77
77
(isDefault||isMax)&&['opus-agent','gpt-5-agent'],
78
78
isMax&&'thinker-best-of-n-opus',
79
-
isLite&&'editor-gpt-5',
79
+
isLite&&'editor-glm',
80
80
isDefault&&'editor',
81
81
isMax&&'editor-multi-prompt',
82
82
isDefault&&'code-reviewer',
@@ -134,7 +134,7 @@ Use the spawn_agents tool to spawn specialized agents to help you complete the u
134
134
${buildArray(
135
135
'- Spawn context-gathering agents (file pickers, code-searcher, directory-lister, glob-matcher, and web/docs researchers) before making edits.',
136
136
isLite&&
137
-
'- Spawn the editor-gpt-5 agent to implement the changes after you have gathered all the context you need.',
137
+
'- Spawn the editor-glm agent to implement the changes after you have gathered all the context you need.',
138
138
isDefault&&
139
139
'- Spawn the editor agent to implement the changes after you have gathered all the context you need.',
140
140
(isDefault||isMax)&&
@@ -199,7 +199,7 @@ ${isDefault
199
199
: isFast
200
200
? '[ You implement the changes using the str_replace or write_file tools ]'
201
201
: isLite
202
-
? '[ You implement the changes using the editor-gpt-5 agent ]'
202
+
? '[ You implement the changes using the editor-glm agent ]'
203
203
: '[ You implement the changes using the editor-multi-prompt agent ]'
204
204
}
205
205
@@ -321,7 +321,7 @@ ${buildArray(
321
321
(isDefault||isMax)&&
322
322
`- For quick problems, briefly explain your reasoning to the user. If you need to think longer, write your thoughts within the <think> tags. Finally, for complex problems, spawn the thinker agent to help find the best solution. (gpt-5-agent is a last resort for complex problems)`,
323
323
isLite&&
324
-
'- IMPORTANT: You must spawn the editor-gpt-5 agent to implement the changes after you have gathered all the context you need. This agent will do the best job of implementing the changes so you must spawn it for all changes. Do not pass any prompt or params to the editor agent when spawning it. It will make its own best choices of what to do.',
324
+
'- IMPORTANT: You must spawn the editor-glm agent to implement the changes after you have gathered all the context you need. This agent will do the best job of implementing the changes so you must spawn it for all changes. Do not pass any prompt or params to the editor agent when spawning it. It will make its own best choices of what to do.',
325
325
isDefault&&
326
326
'- IMPORTANT: You must spawn the editor agent to implement the changes after you have gathered all the context you need. This agent will do the best job of implementing the changes so you must spawn it for all non-trivial changes. Do not pass any prompt or params to the editor agent when spawning it. It will make its own best choices of what to do.',
"Expert code editor that implements code changes based on the user's request. Do not specify an input prompt for this agent; it inherits the context of the entire conversation with the user. Make sure to read any files intended to be edited before spawning this agent as it cannot read files on its own.",
@@ -57,7 +59,7 @@ OR for new files or major rewrites:
57
59
</codebuff_tool_call>
58
60
59
61
${
60
-
model==='gpt-5'
62
+
model==='gpt-5'||model==='glm'
61
63
? ''
62
64
: `Before you start writing your implementation, you should use <think> tags to think about the best way to implement the changes.
0 commit comments