Skip to content

Commit

Permalink
Merge pull request #37 from Wheelspawn/develop
Browse files Browse the repository at this point in the history
fix gpt-4-vision-preview deprecation
  • Loading branch information
SkalskiP authored Sep 10, 2024
2 parents 37848b0 + dcc122c commit 20933c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maestro/lmms/gpt4.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 20933c6

Please sign in to comment.