Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
djcopley committed Feb 9, 2025
1 parent 148eb70 commit 3640afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shelloracle/providers/openai_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class OpenAICompat(Provider):

def __init__(self):
if not self.api_key:
msg = "No API key provided"
msg = "No API key provided. Use a dummy placeholder if no key is required"
raise ProviderError(msg)
self.client = AsyncOpenAI(api_key=self.api_key, base_url=self.base_url)

Expand Down

0 comments on commit 3640afb

Please sign in to comment.