make fmt
This commit is contained in:
parent
7a9659971d
commit
f6d6221c09
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue