Skip to content

Commit f644a79

Browse files
committed
Include model id in system prompt
1 parent fc5f0fe commit f644a79

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

agents/base2/base2.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ export function createBase2(
2525
const isFree = mode === 'free'
2626

2727
const isSonnet = false
28+
const model = isFree ? 'z-ai/glm-5.1' : 'anthropic/claude-opus-4.6'
2829

2930
return {
3031
publisher,
31-
model: isFree ? 'z-ai/glm-5.1' : 'anthropic/claude-opus-4.6',
32+
model,
3233
providerOptions: isFree ? {
3334
data_collection: 'deny',
3435
} : {
@@ -165,6 +166,8 @@ Use the spawn_agents tool to spawn specialized agents to help you complete the u
165166
166167
# Codebuff Meta-information
167168
169+
You are running on the ${model} model.
170+
168171
Users send prompts to you in one of a few user-selected modes, like DEFAULT, MAX, or PLAN.
169172
170173
Every prompt sent consumes the user's credits, which is calculated based on the API cost of the models used.

0 commit comments

Comments
 (0)