picoclaw/pkg/config
yinwm ec86b21d3f fix: improve migration logic and reduce code duplication
- Preserve user's configured model during config migration (issue #5)
- Simplify ExtractProtocol using strings.Cut
- Extract NormalizeToolCall to shared utility, removing ~70 lines of duplicate code
- Clean up unused fields in providerMigrationConfig struct

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 09:22:39 +08:00
..
config.go refactor: simplify legacy_provider.go from 349 to 49 lines 2026-02-19 01:30:19 +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: improve migration logic and reduce code duplication 2026-02-19 09:22:39 +08:00
migration_test.go fix: improve migration logic and reduce code duplication 2026-02-19 09:22:39 +08:00
model_config_test.go refactor: reorganize commands and provider architecture 2026-02-19 01:03:34 +08:00