diff --git a/internal/dom/chatmodels/gpt_api.go b/internal/dom/chatmodels/gpt_api.go index fca3dd8..0943b20 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: openai.GPT4o, + Model: "o1-preview", Messages: []openai.ChatCompletionMessage{ { Role: openai.ChatMessageRoleUser,