Skip to content

Commit

Permalink
feat: o1-preview
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmcguire1 committed Sep 16, 2024
1 parent 709cc0d commit 44b2a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dom/chatmodels/gpt_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 44b2a38

Please sign in to comment.