Skip to content

Commit

Permalink
nit: typo in anthropic env var
Browse files Browse the repository at this point in the history
  • Loading branch information
zhudotexe committed May 9, 2024
1 parent 05da040 commit eb0a117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kani/engines/anthropic/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def __init__(
api_key = os.getenv("ANTHROPIC_API_KEY")
if api_key is None:
raise ValueError(
"You must supply an `api_key`, `client`, or set the `OPENAI_API_KEY` environment variable to use"
"You must supply an `api_key`, `client`, or set the `ANTHROPIC_API_KEY` environment variable to use"
" the OpenAIEngine."
)
if max_context_size is None:
Expand Down

0 comments on commit eb0a117

Please sign in to comment.