picoclaw/pkg/providers
Wutachi a826455581 Add provider field support for explicit provider selection
- 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.
2026-02-12 01:01:23 -03:00
..
claude_provider.go feat(providers): add SDK-based providers for subscription OAuth login 2026-02-11 13:27:59 -06:00
claude_provider_test.go feat(providers): add SDK-based providers for subscription OAuth login 2026-02-11 13:27:59 -06:00
codex_provider.go chore(deps): upgrade openai-go from v1.12.0 to v3.21.0 2026-02-11 13:39:19 -06:00
codex_provider_test.go chore(deps): upgrade openai-go from v1.12.0 to v3.21.0 2026-02-11 13:39:19 -06:00
http_provider.go Add provider field support for explicit provider selection 2026-02-12 01:01:23 -03:00
types.go * First commit 2026-02-09 19:20:19 +08:00