devel/crush: new port, crush 0.82.0
This commit is contained in:
18
devel/crush/patches/patch-internal_config_load_go
Normal file
18
devel/crush/patches/patch-internal_config_load_go
Normal file
@@ -0,0 +1,18 @@
|
||||
--- 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()
|
||||
}
|
||||
Reference in New Issue
Block a user