Added new gpt4o model and set "gpt 4o (latest)" as default model for ChatOpenAI node. (#3543)

* Chore/Add gpt-4o-2024-11-20

* add the latest gpt4o model.

* Update models.json - fix linting

* Update models.json - fix linting issue 2

* Updated default model in ChatOpenAI node from gpt 3.5 turbo gpt4o

* Update ChatOpenAI.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
This commit is contained in:
saatchi-david 2024-11-22 04:28:54 +09:00 committed by GitHub
parent 919cb5097e
commit 36496b1611
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -592,6 +592,10 @@
"label": "gpt-4o (latest)", "label": "gpt-4o (latest)",
"name": "gpt-4o" "name": "gpt-4o"
}, },
{
"label": "gpt-4o-2024-11-20",
"name": "gpt-4o-2024-11-20"
},
{ {
"label": "gpt-4o-2024-08-06", "label": "gpt-4o-2024-08-06",
"name": "gpt-4o-2024-08-06" "name": "gpt-4o-2024-08-06"

View File

@ -47,7 +47,7 @@ class ChatOpenAI_ChatModels implements INode {
name: 'modelName', name: 'modelName',
type: 'asyncOptions', type: 'asyncOptions',
loadMethod: 'listModels', loadMethod: 'listModels',
default: 'gpt-3.5-turbo' default: 'gpt-4o-mini'
}, },
{ {
label: 'Temperature', label: 'Temperature',