lc_secrets
is missing from ChatMistralAI
, potentially leaking API keys
#6627
Labels
auto:bug
Related to a bug, vulnerability, unexpected error with an existing feature
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
No response
Description
When printing an instance of
ChatMistralAI
, the API key is included in plaintext in the output. Other LLMs seem to hide the credentials usinglc_secrets
, and it appears this is missing.MISTRAL_API_KEY
Output from the example code:
System Info
Platform: mac
The text was updated successfully, but these errors were encountered: