feat(config): align tier defaults to cost-conscious models + qwen3-235b on tier C

- Tier S → google/gemini-3-flash-preview ($0.50/$3.00)
- Tier A/B → deepseek/deepseek-v4-flash ($0.14/$0.28)
- Tier C → qwen/qwen3-235b-a22b-2507 ($0.071/$0.10) — Phase 2 target
- Tier D → openai/gpt-oss-20b ($0.03/$0.14)

Aggiornato cost_tracker con prezzi reali per tier. Defaults config.py
ora rispecchiano .env corrente per evitare divergenze dead-code.

Tier S/A/B/D restano cablati ma non ancora invocati nel loop Phase 2
(solo Hypothesis tier C attivo).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-11 22:13:49 +02:00
parent 68637d1102
commit 9c53995f23
8 changed files with 39 additions and 39 deletions
+5 -5
View File
@@ -14,11 +14,11 @@ from tenacity import (
from ..genome.hypothesis import HypothesisAgentGenome, ModelTier
# Modelli configurati per Phase 1 — tutti via OpenRouter
MODEL_TIER_S = "anthropic/claude-opus-4-7"
MODEL_TIER_A = "anthropic/claude-sonnet-4-6"
MODEL_TIER_B = "anthropic/claude-sonnet-4-6"
MODEL_TIER_C = "qwen/qwen-2.5-72b-instruct"
MODEL_TIER_D = "meta-llama/llama-3.3-70b-instruct"
MODEL_TIER_S = "google/gemini-3-flash-preview"
MODEL_TIER_A = "deepseek/deepseek-v4-flash"
MODEL_TIER_B = "deepseek/deepseek-v4-flash"
MODEL_TIER_C = "qwen/qwen3-235b-a22b-2507"
MODEL_TIER_D = "openai/gpt-oss-20b"
OPENROUTER_BASE_URL = "https://openrouter.ai/api/v1"
class EmptyCompletionError(RuntimeError):