-
-
Notifications
You must be signed in to change notification settings - Fork 490
Make llm.get_key() a public documented API for plugins to use #1094
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Lines 335 to 359 in 5a8d717
|
I think I rename the existing function to |
Rats, 89 search results for https://github.com/search?q=%2Fllm%5C.get_key%2F&type=code |
I'm going to add new named keyword-only arguments and document those. key = llm.get_key(alias="github", env="GITHUB_TOKEN", explicit="explicit key here") The docs can mention that positional arguments are accepted for backwards-compatibility but I recommend the new keyword arguments instead. |
New docs:
|
Originally posted by @simonw in #1093
The text was updated successfully, but these errors were encountered: