improved a lot of things

This commit is contained in:
SinachPat
2026-04-29 04:22:43 +01:00
parent 050c4ce7fe
commit 8d07d97cdc
8 changed files with 27 additions and 20 deletions
+3 -3
View File
@@ -2,9 +2,9 @@ import Anthropic from '@anthropic-ai/sdk';
// ── Model constants ───────────────────────────────────────────────────────────
// claude-opus-4-5 is the current stable Opus 4 release.
// Extended thinking is enabled in gateway.ts with budget_tokens.
export const MODEL = 'claude-opus-4-5' as const;
// claude-opus-4-7 uses adaptive thinking (thinking.type = 'adaptive').
// It does NOT accept temperature, top_p, or top_k — those are omitted in gateway.ts.
export const MODEL = 'claude-opus-4-7' as const;
// ── Singleton client ──────────────────────────────────────────────────────────
// The client is created once and shared. API key is injected from the server