From 3028123c818b216e60fec9b8af91db81fa4fa2ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Manuel=20G=C3=B3mez?= Date: Sat, 6 Jun 2026 09:53:46 +0200 Subject: [PATCH] Switch all Claude calls to claude-opus-4-8 Co-Authored-By: Claude Sonnet 4.6 --- agent.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/agent.py b/agent.py index b859fc9..9b5d837 100644 --- a/agent.py +++ b/agent.py @@ -140,7 +140,7 @@ def portfolio_daily_analysis(collected: list) -> str: try: response = client.messages.create( - model="claude-sonnet-4-5", + model="claude-opus-4-8", max_tokens=500, system=PORTFOLIO_SYSTEM, messages=[{ @@ -204,7 +204,7 @@ def weekly_strategic_analysis(games_md_this: dict, games_md_prev_week: dict, try: response = client.messages.create( - model="claude-sonnet-4-5", + model="claude-opus-4-8", max_tokens=900, system=WEEKLY_SYSTEM, messages=[{ @@ -227,7 +227,7 @@ def weekly_strategic_analysis(games_md_this: dict, games_md_prev_week: dict, def decide(analysis: dict) -> dict: response = client.messages.create( - model="claude-sonnet-4-20250514", + model="claude-opus-4-8", max_tokens=400, system=SYSTEM_PROMPT, messages=[{