Add OpenAI new model gpt-4o-mini (#2830)

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

* add openai new model (gpt-4o) in the models.json

* add openai new model: gpt-40 mini

* fix the new model name

* Add OpenAI new model gpt-4o-mini
This commit is contained in:
Asharib Ali
2024-07-18 23:35:10 +05:00
committed by GitHub
parent 54ff43e8f1
commit 0188c5fd03
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -457,6 +457,10 @@
{
"name": "chatOpenAI",
"models": [
{
"label": "gpt-4o-mini",
"name": "gpt-4o-mini"
},
{
"label": "gpt-4o",
"name": "gpt-4o"
@@ -46,6 +46,10 @@ import { HIDE_CANVAS_DIALOG, SHOW_CANVAS_DIALOG } from '@/store/actions'
import { maxScroll } from '@/store/constant'
const assistantAvailableModels = [
{
label: 'gpt-4o-mini',
name: 'gpt-4o-mini'
},
{
label: 'gpt-4o',
name: 'gpt-4o'