🩹 update to support images for gpt-4-turbo
This commit is contained in:
parent
fd51d15201
commit
819937426d
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ function modelSupportsImages(provider: ModelProvider, model: string): boolean {
|
|||
return true;
|
||||
}
|
||||
|
||||
if (["gpt-4-vision-preview", "gpt-4-turbo"].includes(model)) {
|
||||
if (model.startsWith("gpt-4-turbo") || model.startsWith("gpt-4-vision")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue