- 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. |
||
|---|---|---|
| .. | ||
| claude_provider.go | ||
| claude_provider_test.go | ||
| codex_provider.go | ||
| codex_provider_test.go | ||
| http_provider.go | ||
| types.go | ||