@devries-cameron20 / t3code Mirror · read-only / commits / cb8015a34d
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 25, 05:00 UTC

fix(claude-agent): opt into claude_code system prompt preset (#2472)

Ishan committed May 3, 2026 at 01:08 UTC cb8015a34d4fc687ca1e03f7bbec80dc13da6390
1 file changed +1
apps/server/src/provider/Layers/ClaudeAdapter.ts
+1
@@ -2873,6 +2873,7 @@ export const makeClaudeAdapter = Effect.fn("makeClaudeAdapter")(function* (
2873 ...(input.cwd ? { cwd: input.cwd } : {}),
2874 ...(apiModelId ? { model: apiModelId } : {}),
2875 pathToClaudeCodeExecutable: claudeBinaryPath,
2876 + systemPrompt: { type: "preset", preset: "claude_code" },
2877 settingSources: [...CLAUDE_SETTING_SOURCES],
2878 // The SDK type lags the CLI here: Opus 4.7 accepts `xhigh` even though
2879 // the published `Options["effort"]` union currently stops at `max`.