Bridge: Konfigurierbares Modell (Default: Haiku, via CLAUDE_MODEL Env)

Haiku als Default — schnell und günstig für Tests. Sonnet/Opus
über CLAUDE_MODEL Env-Var oder später über Settings in der App.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Eddy 2026-04-13 21:15:00 +02:00
parent c882e23445
commit 377a808e7b

View file

@ -34,7 +34,7 @@ let client = null;
let apiKey = null; let apiKey = null;
let conversationHistory = []; // Messages für Multi-Turn let conversationHistory = []; // Messages für Multi-Turn
let activeAbortController = null; let activeAbortController = null;
const MODEL = 'claude-sonnet-4-20250514'; const MODEL = process.env.CLAUDE_MODEL || 'claude-haiku-4-5-20251001';
const SYSTEM_PROMPT = `Du bist Claude, ein hilfreicher KI-Assistent von Anthropic. const SYSTEM_PROMPT = `Du bist Claude, ein hilfreicher KI-Assistent von Anthropic.
Du antwortest auf Deutsch. Du bist direkt, präzise und hilfreich. Du antwortest auf Deutsch. Du bist direkt, präzise und hilfreich.