Add new openai model (GPT-4o ) in the assistant and models.json (#2402)

* add openai new model (gpt-4o) in the assistant

* add openai new model (gpt-4o) in the models.json
This commit is contained in:
Asharib Ali 2024-05-14 01:26:07 +05:00 committed by GitHub
parent b50103021c
commit b3069932e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

View File

@ -402,6 +402,10 @@
{
"name": "chatOpenAI",
"models": [
{
"label": "gpt-4o",
"name": "gpt-4o"
},
{
"label": "gpt-4",
"name": "gpt-4"

View File

@ -46,6 +46,10 @@ import { HIDE_CANVAS_DIALOG, SHOW_CANVAS_DIALOG } from '@/store/actions'
import { maxScroll } from '@/store/constant'
const assistantAvailableModels = [
{
label: 'gpt-4o',
name: 'gpt-4o'
},
{
label: 'gpt-4-turbo',
name: 'gpt-4-turbo'
@ -70,6 +74,10 @@ const assistantAvailableModels = [
label: 'gpt-3.5-turbo',
name: 'gpt-3.5-turbo'
},
{
label: 'gpt-3.5-turbo-0125',
name: 'gpt-3.5-turbo-0125'
},
{
label: 'gpt-3.5-turbo-1106',
name: 'gpt-3.5-turbo-1106'