mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-18 20:27:57 +00:00
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:
parent
e5bd74878e
commit
a50cde69a2
@ -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:"
|
||||||
|
@ -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:"
|
||||||
|
@ -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:"
|
||||||
|
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user