From 0011b5ebf54d6709cc9e6f1ab129684b6166653b Mon Sep 17 00:00:00 2001 From: Yijia-Xiao Date: Mon, 11 May 2026 03:45:43 +0000 Subject: [PATCH] =?UTF-8?q?feat(llm):=20align=20xAI=20catalog=20with=20doc?= =?UTF-8?q?s=20=E2=80=94=20adopt=20grok-4.20=20frontier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit xAI's official docs lead with grok-4.20-reasoning and grok-4.20-non-reasoning across all SDK examples. Replace the prior grok-4-1-fast-* entries (hyphens where docs use dots, no literal code example) with the verified grok-4.20 family. Keep grok-4-0709 and grok-4-fast variants that are still referenced. --- tradingagents/llm_clients/model_catalog.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tradingagents/llm_clients/model_catalog.py b/tradingagents/llm_clients/model_catalog.py index e7f262b33..aeb04b1f3 100644 --- a/tradingagents/llm_clients/model_catalog.py +++ b/tradingagents/llm_clients/model_catalog.py @@ -73,15 +73,15 @@ MODEL_OPTIONS: ProviderModeOptions = { }, "xai": { "quick": [ - ("Grok 4.1 Fast (Non-Reasoning) - Speed optimized, 2M ctx", "grok-4-1-fast-non-reasoning"), + ("Grok 4.20 (Non-Reasoning) - Latest, speed-optimized", "grok-4.20-non-reasoning"), ("Grok 4 Fast (Non-Reasoning) - Speed optimized", "grok-4-fast-non-reasoning"), - ("Grok 4.1 Fast (Reasoning) - High-performance, 2M ctx", "grok-4-1-fast-reasoning"), + ("Grok 4 Fast (Reasoning) - High-performance", "grok-4-fast-reasoning"), ], "deep": [ - ("Grok 4 - Flagship model", "grok-4-0709"), - ("Grok 4.1 Fast (Reasoning) - High-performance, 2M ctx", "grok-4-1-fast-reasoning"), + ("Grok 4.20 (Reasoning) - Latest frontier reasoning model", "grok-4.20-reasoning"), + ("Grok 4 - Flagship (dated build)", "grok-4-0709"), ("Grok 4 Fast (Reasoning) - High-performance", "grok-4-fast-reasoning"), - ("Grok 4.1 Fast (Non-Reasoning) - Speed optimized, 2M ctx", "grok-4-1-fast-non-reasoning"), + ("Grok 4.20 - Auto-select reasoning behavior", "grok-4.20"), ], }, "deepseek": {