Skip to content

Commit b9a7a7d

Browse files
authored
fix(claude):only set base_url will also copy host's config (#284)
1 parent d1abf9b commit b9a7a7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/code/claude_docker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func createIsolatedClaudeConfig(workspace *models.Workspace, cfg *config.Config)
183183
}
184184

185185
func shouldCopyHostClaudeConfig(cfg *config.Config) bool {
186-
return cfg.Claude.APIKey == "" && cfg.Claude.AuthToken == "" && cfg.Claude.BaseURL == ""
186+
return cfg.Claude.APIKey == "" && cfg.Claude.AuthToken == ""
187187
}
188188

189189
func copyHostClaudeConfig(isolatedConfigDir string) error {

0 commit comments

Comments
 (0)