picoclaw/pkg/providers
yinwm 9e49fbe8d0 feat: add model_list configuration for zero-code provider addition
- Add ModelConfig struct with protocol prefix support (openai/, anthropic/, etc.)
- Implement GetModelConfig with round-robin load balancing
- Add CreateProviderFromConfig factory for protocol-based routing
- Add ModelRegistry for thread-safe endpoint selection
- Maintain full backward compatibility with legacy providers config
- Update README.md and README.zh.md with model_list documentation
- Add migration guide at docs/migration/model-list-migration.md

Supported protocols: openai, anthropic, antigravity, claude-cli, codex-cli,
github-copilot, openrouter, groq, deepseek, cerebras, qwen, zhipu, gemini

Closes #283

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 23:26:00 +08:00
..
antigravity_provider.go fix(antigravity): preserve thought signature on tool call parts 2026-02-17 20:05:47 +05:30
antigravity_provider_test.go fix(antigravity): normalize tool calls to avoid empty function names 2026-02-17 20:05:35 +05:30
claude_cli_provider.go feat: add Codex CLI provider for subprocess integration (#80) 2026-02-16 11:40:17 +08:00
claude_cli_provider_integration_test.go feat: merge heartbeat service improvements from feat-heartbeat branch 2026-02-13 01:42:22 +08:00
claude_cli_provider_test.go misc: fmt code 2026-02-13 17:51:47 +08: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_cli_credentials.go feat: add Codex CLI provider for subprocess integration (#80) 2026-02-16 11:40:17 +08:00
codex_cli_credentials_test.go feat: add Codex CLI provider for subprocess integration (#80) 2026-02-16 11:40:17 +08:00
codex_cli_provider.go feat: add Codex CLI provider for subprocess integration (#80) 2026-02-16 11:40:17 +08:00
codex_cli_provider_test.go feat: add Codex CLI provider for subprocess integration (#80) 2026-02-16 11:40:17 +08:00
codex_provider.go fix: codex agent 400 error (#102) 2026-02-16 11:46:02 +08:00
codex_provider_test.go fix: codex agent 400 error (#102) 2026-02-16 11:46:02 +08:00
factory_provider.go feat: add model_list configuration for zero-code provider addition 2026-02-18 23:26:00 +08:00
github_copilot_provider.go fix: not used result 2026-02-15 08:02:23 +08:00
http_provider.go feat: add model_list configuration for zero-code provider addition 2026-02-18 23:26:00 +08:00
registry.go feat: add model_list configuration for zero-code provider addition 2026-02-18 23:26:00 +08:00
tool_call_extract.go feat: add Codex CLI provider for subprocess integration (#80) 2026-02-16 11:40:17 +08:00
types.go fix(gemini): preserve thought_signature in tool calls to prevent 400 errors 2026-02-17 20:04:45 +05:30