Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Apr 6, 2024
1 parent 56b0ff9 commit 7d4ec4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vision_agent/lmm/lmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,13 @@ def __init__(
self,
model_name: str = "gpt-4-vision-preview",
api_key: Optional[str] = None,
api_version: str = "2021-02-01",
api_version: str = "2024-02-01",
azure_endpoint: Optional[str] = None,
max_tokens: int = 1024,
**kwargs: Any,
):
if not api_key:
api_key = os.getenv("OPENAI_API_KEY")
api_key = os.getenv("AZURE_OPENAI_API_KEY")
if not azure_endpoint:
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT")

Expand Down

0 comments on commit 7d4ec4a

Please sign in to comment.