make fmt
This commit is contained in:
@@ -318,7 +318,7 @@ func CreateProvider(cfg *config.Config) (LLMProvider, error) {
|
|||||||
if cfg.Providers.GitHubCopilot.APIBase != "" {
|
if cfg.Providers.GitHubCopilot.APIBase != "" {
|
||||||
apiBase = cfg.Providers.GitHubCopilot.APIBase
|
apiBase = cfg.Providers.GitHubCopilot.APIBase
|
||||||
} else {
|
} else {
|
||||||
apiBase = "localhost:4321" // no `http://` beacause grpc mode`
|
apiBase = "localhost:4321"
|
||||||
}
|
}
|
||||||
return NewGitHubCopilotProvider(apiBase, cfg.Providers.GitHubCopilot.ConnectMode, model), nil
|
return NewGitHubCopilotProvider(apiBase, cfg.Providers.GitHubCopilot.ConnectMode, model), nil
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user