fix(openrouter): treat xiaomi models as reasoning-capable

This commit is contained in:
Leon 2026-04-28 19:59:45 +08:00 committed by Teknium
parent 96514de472
commit 19eebf6e0d
2 changed files with 23 additions and 0 deletions

View file

@ -8582,6 +8582,7 @@ class AIAgent:
"google/gemini-2",
"qwen/qwen3",
"tencent/hy3-preview",
"xiaomi/",
)
return any(model.startswith(prefix) for prefix in reasoning_model_prefixes)