feat: add Russian language system prompt for Claude responses

This commit is contained in:
neken
2026-04-10 17:37:03 +05:00
parent 95548a9530
commit 2e28476a52
+3 -1
View File
@@ -42,10 +42,12 @@ function runClaude(args: string[], cwd: string): Promise<string> {
}); });
} }
const SYSTEM_PROMPT = "Always respond in Russian. Be concise.";
export class ClaudeService { export class ClaudeService {
async createSession(prompt: string, cwd: string): Promise<ClaudeResult> { async createSession(prompt: string, cwd: string): Promise<ClaudeResult> {
const raw = await runClaude( const raw = await runClaude(
["-p", prompt, "--output-format", "json", "--dangerously-skip-permissions"], ["-p", prompt, "--output-format", "json", "--dangerously-skip-permissions", "--system-prompt", SYSTEM_PROMPT],
cwd, cwd,
); );