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
{{ message }}
Repository navigation
Commit f5e9f65
Browse filesBrowse the repository at this point in the historyBrowse files
fix(proxy): keep the claude_code preset on meta requests
Title/summary turns replaced the preset with a custom systemPrompt string,
changing the request fingerprint Anthropic uses to recognize Claude Code;
on V2 these meta turns reach the Claude credential because there is no
small_model routing anymore. Append the utility instruction to the preset
instead (anomalyco/opencode#7456).
"You are running inside OpenCode. Built-in Claude Code tools are disabled. Use only the mcp__opencode__* tools provided for this turn; they execute via OpenCode.",
1138
+
"Batch independent tool calls into a single turn instead of calling them one at a time.",
1139
+
...(hasTodoWrite
1140
+
? [
1141
+
"For any multi-step work, ALWAYS write the plan with the mcp__opencode__todowrite tool and keep it updated as you progress. A plan that only exists in your text is lost when the session is restored or handed to another agent.",
"You are running inside OpenCode. Built-in Claude Code tools are disabled. Use only the mcp__opencode__* tools provided for this turn; they execute via OpenCode.",
1155
-
"Batch independent tool calls into a single turn instead of calling them one at a time.",
1156
-
...(hasTodoWrite
1157
-
? [
1158
-
"For any multi-step work, ALWAYS write the plan with the mcp__opencode__todowrite tool and keep it updated as you progress. A plan that only exists in your text is lost when the session is restored or handed to another agent.",
0 commit comments