picoclaw/pkg
Wutachi f4a8ff7571 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
..
agent fix(agent): use atomic.Bool for AgentLoop.running to prevent data race 2026-02-12 01:26:22 +08:00
auth feat(auth): add OAuth and token-based login for OpenAI and Anthropic 2026-02-11 11:41:13 -06:00
bus * First commit 2026-02-09 19:20:19 +08:00
channels Remove duplicate truncate functions, reuse utils.Truncate 2026-02-12 00:46:48 +08:00
config Add provider field support for explicit provider selection 2026-02-12 01:01:23 -03:00
cron refactor(agent): improve code quality and restore summarization 2026-02-11 20:31:41 +08:00
heartbeat * First commit 2026-02-09 19:20:19 +08:00
logger * First commit 2026-02-09 19:20:19 +08:00
migrate feat(migrate): add picoclaw migrate command for OpenClaw workspace migration 2026-02-11 12:48:16 -06:00
providers Add provider field support for explicit provider selection 2026-02-12 01:01:23 -03:00
session fix(cron): add one-time reminders and fix data paths to workspace 2026-02-11 20:31:41 +08:00
skills Add memory system, dynamic tool loading, and fix logging issues 2026-02-11 00:14:33 +08:00
tools refactor(tools): remove duplicate truncate functions and add docs 2026-02-11 20:31:41 +08:00
utils refactor(agent): improve code quality and restore summarization 2026-02-11 20:31:41 +08:00
voice Remove duplicate truncate functions, reuse utils.Truncate 2026-02-12 00:46:48 +08:00