picoclaw/pkg/config
I Putu Eddy Irawan 2fc87985d2 fix: add kimi-code migration alias and User-Agent test
- Add "kimi-code" to the moonshot provider's providerNames in
  ConvertProvidersToModelList so configs using
  agents.defaults.provider: "kimi-code" migrate correctly.
- Add TestProviderChat_KimiCodeUserAgent verifying that
  User-Agent: KimiCLI/0.77 is set when apiBase hostname is
  api.kimi.com and not set for other hosts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 09:18:26 +07:00
..
config.go Merge branch 'main' into feat/kimi-opencode-providers 2026-03-02 22:08:50 +07:00
config_test.go feat(config): Add support for env var configuration (#896) 2026-03-02 07:41:12 +11:00
defaults.go refactor(config): remove WebhookHost and WebhookPort from WeComAIBotConfig 2026-03-02 17:42:54 +08:00
migration.go fix: add kimi-code migration alias and User-Agent test 2026-03-03 09:18:26 +07:00
migration_test.go Address Copilot review feedback for Kimi/Opencode providers 2026-03-01 09:22:49 +07:00
model_config_test.go refactor(modernize): apply safe modernize fixes 2026-02-27 16:35:07 +08:00