Skip to content

Commit

Permalink
Update GPT models in preset list (#123)
Browse files Browse the repository at this point in the history
* Update GPT4Vision model preset

gpt-4-vision-preview is not used. Updated to use gpt-4o-mini instead

* Update RequestBuilder.cpp
  • Loading branch information
nacalai authored Oct 15, 2024
1 parent 4a57daa commit 0686475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/RequestBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ RequestBuilder::RequestBuilder(url_source_request_data *request_data,
/* ------------------------------------------- */
ui->urlLineEdit->setText("https://api.openai.com/v1/chat/completions");
ui->bodyTextEdit->setText(R"({
"model": "gpt-3.5-turbo",
"model": "gpt-4o-mini",
"messages": [
{
"role": "system",
Expand Down Expand Up @@ -193,7 +193,7 @@ RequestBuilder::RequestBuilder(url_source_request_data *request_data,
/* --------------------------------------------- */
ui->urlLineEdit->setText("https://api.openai.com/v1/chat/completions");
ui->bodyTextEdit->setText(R"({
"model": "gpt-4-vision-preview",
"model": "gpt-4o-mini",
"messages": [
{
"role": "user",
Expand Down

0 comments on commit 0686475

Please sign in to comment.