webclaw/crates/webclaw-llm/src/providers
Valerio d9e3d0b2bb feat(llm): add Gemini provider and fix stale Anthropic default model
Adds a Google Gemini provider (Generative Language API) to the chain, ordered Ollama -> OpenAI -> Gemini -> Anthropic so Google credits are preferred with Anthropic as last-resort fallback. System->systemInstruction, assistant->model, json_mode->responseMimeType; model name validated before URL interpolation; maxOutputTokens defaults high for 2.5 thinking models. Also fixes AnthropicProvider default (retired claude-sonnet-4-20250514 -> 404); now claude-sonnet-4-6, honors ANTHROPIC_MODEL.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 15:52:37 +02:00
..
anthropic.rs feat(llm): add Gemini provider and fix stale Anthropic default model 2026-06-16 15:52:37 +02:00
gemini.rs feat(llm): add Gemini provider and fix stale Anthropic default model 2026-06-16 15:52:37 +02:00
mod.rs feat(llm): add Gemini provider and fix stale Anthropic default model 2026-06-16 15:52:37 +02:00
ollama.rs fix: harden LLM providers, UTF-8 handling, and webhook/batch reliability 2026-06-09 21:10:15 +02:00
openai.rs fix: harden LLM providers, UTF-8 handling, and webhook/batch reliability 2026-06-09 21:10:15 +02:00