Skip to content

Commit 2c70277

Browse files
Update agent configurations and type definitions for open source agents
Updated researcher and thinker agent models and improved type definitions for tool parameters and agent configuration. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
1 parent 59eaafe commit 2c70277

File tree

7 files changed

+207
-192
lines changed

7 files changed

+207
-192
lines changed

.agents/opensource/researcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { AgentConfig } from '../types/agent-config'
33
const config: AgentConfig = {
44
id: 'oss-model-researcher',
55
publisher: 'codebuff',
6-
model: 'qwen/qwen3-235b-a22b-thinking-2507',
6+
model: 'z-ai/glm-4.5:fast',
77
displayName: 'Reid the Researcher',
88
parentPrompt:
99
'Expert researcher for comprehensive web search and documentation analysis, focusing on external research and actionable insights from external sources.',

.agents/opensource/thinker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { AgentConfig } from '../types/agent-config'
33
const config: AgentConfig = {
44
id: 'oss-model-thinker',
55
publisher: 'codebuff',
6-
model: 'meta-llama/llama-4-maverick-8b:fast',
6+
model: 'qwen/qwen3-235b-a22b-thinking-2507:fast',
77
displayName: 'Theo the Thinker',
88
parentPrompt:
99
'Deep thinking agent, optimized for complex reasoning and step-by-step analysis.',

.agents/types/agent-config.d.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,7 @@ export interface AgentConfig {
139139
* ],
140140
* },
141141
* }
142-
* const { toolResult: thinkResult } = yield 'STEP'
143-
* if (thinkResult?.toolName === 'end_turn') {
144-
* break
145-
* }
142+
* yield 'STEP'
146143
* }
147144
* }
148145
*/
@@ -151,7 +148,7 @@ export interface AgentConfig {
151148
) => Generator<
152149
ToolCall | 'STEP' | 'STEP_ALL',
153150
void,
154-
{ agentState: AgentState; toolResult: string | undefined }
151+
{ agentState: AgentState; toolResult: ToolResult | undefined }
155152
>
156153
}
157154

0 commit comments

Comments
 (0)