feat(llm): unified client for OpenRouter (Qwen) + Anthropic (Sonnet)

LLMClient instrada richieste in base a ModelTier del genome:
- Tier C -> Qwen 2.5 72B via OpenRouter (chat completions)
- Tier B -> Sonnet 4.6 via Anthropic (messages API)
CompletionResult dataclass frozen con text, tokens, tier, model.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-09 19:54:39 +02:00
parent 93d0a9e848
commit a9261452e0
3 changed files with 133 additions and 0 deletions
View File