19 lines
770 B
Plaintext
19 lines
770 B
Plaintext
--- internal/config/load.go
|
|
+++ internal/config/load.go
|
|
@@ -287,14 +287,7 @@
|
|
|
|
switch {
|
|
case p.ID == catwalk.InferenceProviderAnthropic && config.OAuthToken != nil:
|
|
- // Claude Code subscription is not supported anymore. Remove to show onboarding.
|
|
- // RemoveConfigField persists the deletion to disk. The in-memory
|
|
- // state is kept consistent by the Providers.Del call below; any
|
|
- // concurrent reload that races with this write will also see the
|
|
- // removal because it re-reads from disk.
|
|
- store.RemoveConfigField(ScopeGlobal, "providers.anthropic")
|
|
- c.Providers.Del(string(p.ID))
|
|
- continue
|
|
+ prepared.SetupClaudeCode()
|
|
case p.ID == catwalk.InferenceProviderCopilot && config.OAuthToken != nil:
|
|
prepared.SetupGitHubCopilot()
|
|
}
|