Skip to content

Commit

Permalink
revert: chatgpt o1 model
Browse files Browse the repository at this point in the history
- api key doesn't have access
  • Loading branch information
jackmcguire1 committed Sep 17, 2024
1 parent 44b2a38 commit a1fd7cf
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: "o1-preview",
Model: openai.GPT4o,
Messages: []openai.ChatCompletionMessage{
{
Role: openai.ChatMessageRoleUser,
Expand Down

0 comments on commit a1fd7cf

Please sign in to comment.