diff --git a/internal/dom/chatmodels/gpt_api.go b/internal/dom/chatmodels/gpt_api.go index 0943b20..fca3dd8 100644 --- a/internal/dom/chatmodels/gpt_api.go +++ b/internal/dom/chatmodels/gpt_api.go @@ -21,7 +21,7 @@ func NewOpenAiApiClient(token string) *OpenAIApiClient { func (api *OpenAIApiClient) AutoComplete(ctx context.Context, prompt string) (openai.ChatCompletionResponse, error) { req := openai.ChatCompletionRequest{ - Model: "o1-preview", + Model: openai.GPT4o, Messages: []openai.ChatCompletionMessage{ { Role: openai.ChatMessageRoleUser,