mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
f4a8ff7571
- Add Provider field to AgentDefaults struct - Modify CreateProvider to use explicit provider field first, fallback to model name detection - Allows using models without provider prefix (e.g., llama-3.1-8b-instant instead of groq/llama-3.1-8b-instant) - Supports all providers: groq, openai, anthropic, openrouter, zhipu, gemini, vllm - Backward compatible with existing configs Fixes issue where models without provider prefix could not use configured API keys.