diff options
| -rw-r--r-- | config.toml.example | 2 | ||||
| -rw-r--r-- | internal/llm/openai.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config.toml.example b/config.toml.example index b8198a6..9ac6f51 100644 --- a/config.toml.example +++ b/config.toml.example @@ -31,7 +31,7 @@ chat_prefixes = ["?", "!", ":", ";"] # single-character items name = "openai" # openai | copilot | ollama [openai] -model = "gpt-4o" +model = "gpt-4.1" base_url = "https://api.openai.com/v1" temperature = 0.2 diff --git a/internal/llm/openai.go b/internal/llm/openai.go index 42a9152..8a0d6d7 100644 --- a/internal/llm/openai.go +++ b/internal/llm/openai.go @@ -81,7 +81,7 @@ func newOpenAI(baseURL, model, apiKey string, defaultTemp *float64) Client { baseURL = "https://api.openai.com/v1" } if strings.TrimSpace(model) == "" { - model = "gpt-4o" + model = "gpt-4.1" } return openAIClient{ httpClient: &http.Client{Timeout: 30 * time.Second}, |
