TradingAgents/tradingagents/llm_clients
Felix Dunand Carre 3aad988472 Add Cerebras as LLM provider using OpenAI-compatible API
- Register Cerebras base URL and API key env var in openai_client.py
- Route cerebras provider through OpenAIClient in factory.py
- Add available Cerebras models to validators.py
- Add Cerebras to CLI provider menu and model selection in cli/utils.py
- Add cerebras override in cli/main.py config
- Set main.py to use Cerebras llama3.1-8b (llama3.1-8b has working tool calling)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 23:54:54 -04:00
..
TODO.md feat: add multi-provider LLM support with factory pattern 2026-02-03 22:27:20 +00:00
__init__.py feat: add multi-provider LLM support with factory pattern 2026-02-03 22:27:20 +00:00
anthropic_client.py feat: add Anthropic effort level support for Claude models 2026-03-22 21:57:05 +00:00
base_client.py chore: consolidate install, fix CLI portability, normalize LLM responses 2026-03-22 21:38:01 +00:00
factory.py Add Cerebras as LLM provider using OpenAI-compatible API 2026-03-24 23:54:54 -04:00
google_client.py chore: consolidate install, fix CLI portability, normalize LLM responses 2026-03-22 21:38:01 +00:00
openai_client.py Add Cerebras as LLM provider using OpenAI-compatible API 2026-03-24 23:54:54 -04:00
validators.py Add Cerebras as LLM provider using OpenAI-compatible API 2026-03-24 23:54:54 -04:00