Skip to content

Commit 2ac35da

Browse files
D3OXYronak-guliani
authored andcommitted
fix(claude-agent): opt into claude_code system prompt preset (pingdotgg#2472)
1 parent d5a27f7 commit 2ac35da

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/server/src/provider/Layers/ClaudeAdapter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2873,6 +2873,7 @@ export const makeClaudeAdapter = Effect.fn("makeClaudeAdapter")(function* (
28732873
...(input.cwd ? { cwd: input.cwd } : {}),
28742874
...(apiModelId ? { model: apiModelId } : {}),
28752875
pathToClaudeCodeExecutable: claudeBinaryPath,
2876+
systemPrompt: { type: "preset", preset: "claude_code" },
28762877
settingSources: [...CLAUDE_SETTING_SOURCES],
28772878
// The SDK type lags the CLI here: Opus 4.7 accepts `xhigh` even though
28782879
// the published `Options["effort"]` union currently stops at `max`.

0 commit comments

Comments
 (0)