Skip to content

Commit 994f609

Browse files
committed
deprecating ell setup suggestion
1 parent f796f92 commit 994f609

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ell/util/_warnings.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ def _no_api_key_warning(model, name, client_to_use, long=False, error=False):
1111
return f"""{color}{prefix}: No API key found for model `{model}` used by LMP `{name}` using client `{client_to_use}`""" + (""".
1212
1313
To fix this:
14-
* Run `ell setup openai` to set up your API keys system wide
15-
* Or, set your API key in the environment variable `OPENAI_API_KEY`
14+
* Or, set your API key in the environment variable `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, etc.
1615
* Or, specify a client explicitly in the decorator:
1716
```
1817
import ell

0 commit comments

Comments
 (0)