picoclaw/cmd/picoclaw
kernoeb b9a66248d8
fix: resolve Groq STT key from model_list when providers.groq is absent (#602)
When users migrate from the legacy `providers` config to the new
`model_list` format, voice transcription silently breaks on Telegram,
Discord and Slack channels.

The gateway was reading the Groq API key exclusively from
`cfg.Providers.Groq.APIKey`, which is empty once the key is defined
only inside a `model_list` entry. The transcriber was never initialized,
so voice messages fell back to a plain `[voice]` placeholder.

This fix also scans `model_list` for any entry whose `model` field
starts with `groq/` and uses its `api_key` as a fallback, preserving
full backward compatibility with the legacy `providers.groq` field.
2026-02-22 11:32:44 +11:00
..
cmd_agent.go feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
cmd_auth.go feat(linter): Fix govet linter 2026-02-20 22:35:16 +02:00
cmd_cron.go refactor: reorganize commands and provider architecture 2026-02-19 01:03:34 +08:00
cmd_gateway.go fix: resolve Groq STT key from model_list when providers.groq is absent (#602) 2026-02-22 11:32:44 +11:00
cmd_migrate.go refactor: reorganize commands and provider architecture 2026-02-19 01:03:34 +08:00
cmd_onboard.go feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
cmd_skills.go feat(linter): Fix govet linter 2026-02-20 22:35:16 +02:00
cmd_status.go refactor: reorganize commands and provider architecture 2026-02-19 01:03:34 +08:00
main.go Feature: Implement Skill Discovery - With Clawhub Integration and Caching (#332) 2026-02-20 18:55:04 +08:00