Skip to content

Commit b306993

Browse files
authored
Add new openai model (GPT-4o ) in the assistant and models.json (FlowiseAI#2402)
* add openai new model (gpt-4o) in the assistant * add openai new model (gpt-4o) in the models.json
1 parent b501030 commit b306993

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

packages/components/models.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,10 @@
402402
{
403403
"name": "chatOpenAI",
404404
"models": [
405+
{
406+
"label": "gpt-4o",
407+
"name": "gpt-4o"
408+
},
405409
{
406410
"label": "gpt-4",
407411
"name": "gpt-4"

packages/ui/src/views/assistants/AssistantDialog.jsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ import { HIDE_CANVAS_DIALOG, SHOW_CANVAS_DIALOG } from '@/store/actions'
4646
import { maxScroll } from '@/store/constant'
4747

4848
const assistantAvailableModels = [
49+
{
50+
label: 'gpt-4o',
51+
name: 'gpt-4o'
52+
},
4953
{
5054
label: 'gpt-4-turbo',
5155
name: 'gpt-4-turbo'
@@ -70,6 +74,10 @@ const assistantAvailableModels = [
7074
label: 'gpt-3.5-turbo',
7175
name: 'gpt-3.5-turbo'
7276
},
77+
{
78+
label: 'gpt-3.5-turbo-0125',
79+
name: 'gpt-3.5-turbo-0125'
80+
},
7381
{
7482
label: 'gpt-3.5-turbo-1106',
7583
name: 'gpt-3.5-turbo-1106'

0 commit comments

Comments
 (0)