This commit is contained in:
Lixeer
2026-02-15 07:00:40 +08:00
parent 7a9659971d
commit f6d6221c09

View File

@@ -318,7 +318,7 @@ func CreateProvider(cfg *config.Config) (LLMProvider, error) {
if cfg.Providers.GitHubCopilot.APIBase != "" {
apiBase = cfg.Providers.GitHubCopilot.APIBase
} else {
apiBase = "localhost:4321" // no `http://` beacause grpc mode`
apiBase = "localhost:4321"
}
return NewGitHubCopilotProvider(apiBase, cfg.Providers.GitHubCopilot.ConnectMode, model), nil