fix: add newline separation for Claude Code system prompt

This commit is contained in:
cyhhao
2026-01-29 01:28:43 +08:00
parent 59231668c5
commit 31f817d189
2 changed files with 7 additions and 4 deletions

View File

@@ -123,7 +123,7 @@ func createTestPayload(modelID string) (map[string]any, error) {
"system": []map[string]any{
{
"type": "text",
"text": "You are Claude Code, Anthropic's official CLI for Claude.",
"text": claudeCodeSystemPrompt,
"cache_control": map[string]string{
"type": "ephemeral",
},