This commit is contained in:
Lixeer
2026-02-15 07:34:12 +08:00
parent f6d6221c09
commit 5a6ad37dab
2 changed files with 33 additions and 35 deletions

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"
apiBase = "localhost:4321"
}
return NewGitHubCopilotProvider(apiBase, cfg.Providers.GitHubCopilot.ConnectMode, model), nil