Skip to content

Commit

Permalink
fix: ollama config (#318)
Browse files Browse the repository at this point in the history
closes #311
  • Loading branch information
cerisara authored Aug 26, 2024
1 parent 7b8f975 commit 5fe5c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ func (m *Mods) startCompletionCmd(content string) tea.Cmd {
case "ollama":
occfg = DefaultOllamaConfig()
if api.BaseURL != "" {
ccfg.BaseURL = api.BaseURL
occfg.BaseURL = api.BaseURL
}
case "anthropic":
key, err := m.ensureKey(api, "ANTHROPIC_API_KEY", "https://console.anthropic.com/settings/keys")
Expand Down

0 comments on commit 5fe5c3a

Please sign in to comment.