chore(aio): rename gpt-4-vision-preview to gpt-4o (#3597)

Fixes: 3596

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-09-18 15:55:46 +02:00 committed by GitHub
parent e5bd74878e
commit a50cde69a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ backend: llama-cpp
context_size: 4096 context_size: 4096
f16: true f16: true
mmap: true mmap: true
name: gpt-4-vision-preview name: gpt-4o
roles: roles:
user: "USER:" user: "USER:"

View File

@ -2,7 +2,7 @@ backend: llama-cpp
context_size: 4096 context_size: 4096
f16: true f16: true
mmap: true mmap: true
name: gpt-4-vision-preview name: gpt-4o
roles: roles:
user: "USER:" user: "USER:"

View File

@ -2,7 +2,7 @@ backend: llama-cpp
context_size: 4096 context_size: 4096
mmap: false mmap: false
f16: false f16: false
name: gpt-4-vision-preview name: gpt-4o
roles: roles:
user: "USER:" user: "USER:"

View File

@ -171,7 +171,7 @@ var _ = Describe("E2E test", func() {
}) })
Context("vision", func() { Context("vision", func() {
It("correctly", func() { It("correctly", func() {
model := "gpt-4-vision-preview" model := "gpt-4o"
resp, err := client.CreateChatCompletion(context.TODO(), resp, err := client.CreateChatCompletion(context.TODO(),
openai.ChatCompletionRequest{ openai.ChatCompletionRequest{
Model: model, Messages: []openai.ChatCompletionMessage{ Model: model, Messages: []openai.ChatCompletionMessage{