Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
sidjha1 committed Sep 29, 2024
1 parent ecede3f commit 0b34198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lotus/models/openai_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __init__(
**kwargs,
}

self.client = OpenAI(api_key=api_key, base_url=api_base)
self.client = OpenAI(api_key=api_key if api_key else "None", base_url=api_base)

# TODO: Refactor this
if self.provider == "openai":
Expand Down

0 comments on commit 0b34198

Please sign in to comment.