picoclaw/pkg/config
yinwm 58b5e21d90 fix(config): support legacy config without provider field
When no provider field is set but model is specified, use the user's model
as ModelName for the first provider. This maintains backward compatibility
with old configs that relied on implicit provider selection and ensures
GetModelConfig(model) can find the model by its configured name.
2026-02-19 13:05:21 +08:00
..
config.go feat(config): validate duplicate model names 2026-02-19 12:45:12 +08:00
config_test.go fix: tighten file perms and enforce Slack ACL checks (#186) 2026-02-16 16:06:39 +08:00
defaults.go refactor: reorganize commands and provider architecture 2026-02-19 01:03:34 +08:00
migration.go fix(config): support legacy config without provider field 2026-02-19 13:05:21 +08:00
migration_test.go fix(config): support legacy config without provider field 2026-02-19 13:05:21 +08:00
model_config_test.go feat(config): validate duplicate model names 2026-02-19 12:45:12 +08:00