TradingAgents/cli
KK fe47dd0983 fix: remove hardcoded Google backend_url that caused 404 errors
The CLI hardcoded https://generativelanguage.googleapis.com/v1 as the
backend_url for the Google provider. When forwarded as base_url to
ChatGoogleGenerativeAI, the google-genai SDK constructs incorrect request
paths resulting in 404 Not Found for all Gemini models.

Fix by setting the Google provider's backend_url to None so the SDK uses
its default endpoint. GoogleClient.get_llm() still forwards base_url when
explicitly provided, preserving proxy/custom endpoint support.

Reproducer:
    ChatGoogleGenerativeAI(
        model="gemini-2.5-flash",
        base_url="https://generativelanguage.googleapis.com/v1",
    ).invoke("Hello")
    # → ChatGoogleGenerativeAIError: 404 Not Found
2026-03-31 16:29:02 +08:00
..
static chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07:00
__init__.py chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07:00
announcements.py feat: add announcements panel fetching from api.tauric.ai/v1/announcements 2026-02-03 22:27:20 +00:00
config.py feat: add announcements panel fetching from api.tauric.ai/v1/announcements 2026-02-03 22:27:20 +00:00
main.py feat: multi-language output support for analyst reports and final decision (#472) 2026-03-29 19:19:01 +00:00
models.py chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07:00
stats_handler.py feat: add footer statistics tracking with LangChain callbacks 2026-02-03 22:27:20 +00:00
utils.py fix: remove hardcoded Google backend_url that caused 404 errors 2026-03-31 16:29:02 +08:00