From dcc122cb12c6d861dac7dac04386386991fcafa9 Mon Sep 17 00:00:00 2001 From: Wheelspawn Date: Fri, 6 Sep 2024 22:38:23 -0500 Subject: [PATCH] fix gpt-4-vision-preview deprecation --- maestro/lmms/gpt4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maestro/lmms/gpt4.py b/maestro/lmms/gpt4.py index ad428b4..93b6106 100644 --- a/maestro/lmms/gpt4.py +++ b/maestro/lmms/gpt4.py @@ -43,7 +43,7 @@ def compose_headers(api_key: str) -> dict: def compose_payload(image: np.ndarray, prompt: str) -> dict: base64_image = encode_image_to_base64(image) return { - "model": "gpt-4-vision-preview", + "model": "gpt-4o", "messages": [ { "role": "system",