-
Notifications
You must be signed in to change notification settings - Fork 15.7k
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
introduce convert_to_secret() to bananadev llm #14283
Conversation
tholapz
commented
Dec 5, 2023
- Description: Per For New Contributors: Use SecretStr for api_keys #12165, this PR add to BananaLLM the function convert_to_secret_str() during environment variable validation.
- Issue: For New Contributors: Use SecretStr for api_keys #12165
- Tag maintainer: @eyurtsev
- Twitter handle: @treewatcha75751
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add a test, and i also think we need to call .get_secret_value() wherever this is used
see https://github.com/langchain-ai/langchain/pull/14309/files for a good example
use convert_to_secret_str() util create unit tests
@hwchase17 please re-review. Thanks! |
…gchain-ai#14283) - **Description:** Per langchain-ai#12165, this PR add to BananaLLM the function convert_to_secret_str() during environment variable validation. - **Issue:** langchain-ai#12165 - **Tag maintainer:** @eyurtsev - **Twitter handle:** @treewatcha75751 --------- Co-authored-by: Bagatur <[email protected]>
) - **Description:** Per #12165, this PR add to BananaLLM the function convert_to_secret_str() during environment variable validation. - **Issue:** #12165 - **Tag maintainer:** @eyurtsev - **Twitter handle:** @treewatcha75751 --------- Co-authored-by: Bagatur <[email protected]>