Just a small update here. Our team looked into this and it turns out it’s an issue coming from Langchain and not n8n.
The way Langchain is implemented for the Mistral model is not protecting the API keys properly, even though it does so for other models, like the OpenAi one, for example.
Good news! Our engineering team reached out to Langchain about his issue and they have implemented a quick fix
This will be out with the next release from Langchain and we will keep an eye out to update our node then!