Commit Graph

4 Commits

Author SHA1 Message Date
Jeff Hicken 8b1289f5fc feat: enhance LM Studio integration and configuration
- Updated .env.example to include API keys and configuration for various LLM providers, including LM Studio.
- Modified cli/utils.py to implement fetch_lmstudio_models function for dynamic model retrieval.
- Updated cli/main.py and cli/utils.py to support LM Studio as a provider option.
- Enhanced tradingagents/llm_clients to accommodate LM Studio in client creation and API key handling.
- Updated .gitignore to exclude results and reports directories.
2026-03-25 17:05:27 -06:00
阳虎 64f07671b9 fix: add http_client support for SSL certificate customization
- Add http_client and http_async_client parameters to all LLM clients
- OpenAIClient, GoogleClient, AnthropicClient now support custom httpx clients
- Fixes SSL certificate verification errors on Windows Conda environments
- Users can now pass custom httpx.Client with verify=False or custom certs

Fixes #369
2026-03-16 07:41:20 +08:00
Yijia Xiao 54cdb146d0
feat: add footer statistics tracking with LangChain callbacks
- Add StatsCallbackHandler for tracking LLM calls, tool calls, and tokens
- Integrate callbacks into TradingAgentsGraph and all LLM clients
- Dynamic agent/report counts based on selected analysts
- Fix report completion counting (tied to agent completion)
2026-02-03 22:27:20 +00:00
Yijia Xiao 79051580b8
feat: add multi-provider LLM support with factory pattern
- Add tradingagents/llm_clients/ with unified factory pattern
- Support OpenAI, Anthropic, Google, xAI, OpenRouter, Ollama, vLLM
- Replace direct LLM imports in trading_graph.py with create_llm_client()
- Handle provider-specific params (reasoning_effort, thinking_config)
2026-02-03 22:27:20 +00:00