mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
e1583f3b13
- Move OAuth helper functions to factory_provider.go - Add auto-migration in LoadConfig: old providers -> model_list - Add Workspace field to ModelConfig for CLI-based providers - Fix OAuth handling to use auth store instead of raw APIKey - Update tests to use new model_list configuration format This eliminates the giant switch-case in legacy_provider.go, achieving the goal of "zero-code provider addition" from the design document (issue #283). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>