TradingAgents/tradingagents
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
..
agents feat: multi-language output support for analyst reports and final decision (#472) 2026-03-29 19:19:01 +00:00
dataflows fix: add yf_retry to yfinance news fetchers (#445) 2026-03-29 17:42:24 +00:00
graph refactor: standardize portfolio manager, five-tier rating scale, fix analyst status tracking 2026-03-22 23:30:29 +00:00
llm_clients fix: remove hardcoded Google backend_url that caused 404 errors 2026-03-31 16:29:02 +08:00
__init__.py fix: set process-level UTF-8 default for cross-platform consistency 2026-03-22 23:42:37 +00:00
default_config.py chore: update model lists and defaults to GPT-5.4 family 2026-03-29 19:45:36 +00:00