feat(cli): collapse regional duplicates; refresh Qwen catalog

Qwen and MiniMax each had two main-dropdown entries (intl + CN);
consolidate to one entry per provider and prompt for region as a
secondary step. Internal provider keys (qwen-cn, minimax-cn) and
endpoint routing unchanged. Add qwen3.6-flash to the Qwen catalog
and drop the version-less aliases (qwen-flash, qwen-plus) that
auto-shift their backing model per Alibaba's docs.

#758
This commit is contained in:
Yijia-Xiao
2026-05-11 04:16:11 +00:00
parent 0011b5ebf5
commit faaeebac70
3 changed files with 92 additions and 15 deletions

View File

@@ -559,6 +559,14 @@ def get_user_selections():
)
selected_llm_provider, backend_url = select_llm_provider()
# Providers with regional endpoints prompt for the region as a secondary
# step so the main dropdown stays clean (mainland China and international
# accounts cannot share API keys).
if selected_llm_provider == "qwen":
selected_llm_provider, backend_url = ask_qwen_region()
elif selected_llm_provider == "minimax":
selected_llm_provider, backend_url = ask_minimax_region()
# Step 7: Thinking agents
console.print(
create_question_box(