feat: update models to claude-opus-5/sonnet-5/haiku-4-5-20251001 (tested live on 9router)

- PRIMARY: openai/claude-opus-5 (was openai/claude-opus-4-8)
- FALLBACKS: added openai/claude-sonnet-5, openai/claude-haiku-4-5-20251001
- Verified all three return valid responses via raw HTTP to 9router
- Updated run_server.py, health-check.py, setup_all.py
This commit is contained in:
asepharyana
2026-08-20 11:30:10 +07:00
parent 54cec6bf0c
commit 017656d97b
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ from pathlib import Path
BWS_SECRET_ID = "2aef2194-971d-4dae-99dd-b49a0041f97c"
ROUTER_BASE = "https://9router.asepharyana.my.id/v1"
PRIMARY = "openai/claude-opus-4-8"
FALLBACKS = ["openai/ATLAS", "openai/gemini", "openai/text", "openai/deepseek-v4-flash-free"]
PRIMARY = "openai/claude-opus-5"
FALLBACKS = ["openai/claude-sonnet-5", "openai/claude-haiku-4-5-20251001", "openai/ATLAS", "openai/gemini", "openai/text", "openai/deepseek-v4-flash-free"]
# Caddy 9router route is now response_header_timeout 120s / read 300s.
# LLM combo TTFT often 30-40s+. Give the check room to complete.
HTTP_TIMEOUT = 150