Skip to content

Commit 9f6a382

Browse files
committed
fix: move to a new base agent that can do it all
1 parent 803b068 commit 9f6a382

File tree

8 files changed

+355
-166
lines changed

8 files changed

+355
-166
lines changed

.agents/sonnet4-agent-builder.ts

Lines changed: 0 additions & 147 deletions
This file was deleted.

backend/src/templates/agent-list.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { models } from '@codebuff/common/constants'
22
import { AgentTemplateTypes } from '@codebuff/common/types/session-state'
33

4+
import { agentAwareBase } from './agents/agent-aware-base'
45
import { agentBuilder } from './agents/agent-builder'
56
import { dryRun } from './agents/archive/dry-run'
67
import { ask } from './agents/ask'
@@ -47,6 +48,10 @@ export const agentTemplates: Record<AgentTemplateType | string, AgentTemplate> =
4748
id: AgentTemplateTypes.claude4_gemini_thinking,
4849
...thinkingBase(models.openrouter_claude_sonnet_4),
4950
},
51+
[AgentTemplateTypes.agent_aware_base]: {
52+
id: AgentTemplateTypes.agent_aware_base,
53+
...agentAwareBase(models.openrouter_claude_sonnet_4),
54+
},
5055

5156
[AgentTemplateTypes.thinker]: {
5257
id: AgentTemplateTypes.thinker,
@@ -72,8 +77,8 @@ export const agentTemplates: Record<AgentTemplateType | string, AgentTemplate> =
7277
id: AgentTemplateTypes.reviewer,
7378
...reviewer(models.gemini2_5_pro_preview),
7479
},
75-
[AgentTemplateTypes.sonnet4_agent_builder]: {
76-
id: AgentTemplateTypes.sonnet4_agent_builder,
80+
[AgentTemplateTypes.agent_builder]: {
81+
id: AgentTemplateTypes.agent_builder,
7782
...agentBuilder(models.openrouter_claude_sonnet_4),
7883
},
7984
[AgentTemplateTypes.file_explorer]: fileExplorer as any as AgentTemplate,

0 commit comments

Comments
 (0)