Skip to content

Conversation

@Deveosys
Copy link

@Deveosys Deveosys commented Dec 28, 2025

API Key env variable for Mistral AI embeddings should be MISTRAL_API_KEY and not MISTRALAI_API_KEY

Overview

The name of the API Key environment variable is incorrect for the MistralAi embeddings docs. Replacing it from MISTRALAI_API_KEY to MISTRAL_API_KEY fixes error httpx.LocalProtocolError: Illegal header value b'Bearer '

Type of change

Type: Fix typo

Related issues/PRs

  • GitHub issue: #21261
  • Feature PR:
  • Linear issue:
  • Slack thread:

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

(Internal team members only / optional): Create a preview deployment as necessary using the Create Preview Branch workflow

Additional notes

API Key env variable for Mistral AI embeddings should be `MISTRAL_API_KEY` and not `MISTRALAI_API_KEY`
@Deveosys Deveosys requested a review from mdrxy as a code owner December 28, 2025 10:39
@github-actions github-actions bot added external User is not a member of langchain-ai langchain For docs changes to LangChain oss python For content related to the Python version of LangChain projects labels Dec 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external User is not a member of langchain-ai langchain For docs changes to LangChain oss python For content related to the Python version of LangChain projects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant