[PR #2036] [MERGED] Update name of the API Key environment variable in mistralai.mdx #2079

Closed
opened 2026-02-17 17:23:02 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/2036
Author: @Deveosys
Created: 12/28/2025
Status: Merged
Merged: 1/23/2026
Merged by: @mdrxy

Base: mainHead: patch-1


📝 Commits (1)

  • 3cfb028 Update Api Key in mistralai.mdx

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 src/oss/python/integrations/text_embedding/mistralai.mdx (+3 -3)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/2036 **Author:** [@Deveosys](https://github.com/Deveosys) **Created:** 12/28/2025 **Status:** ✅ Merged **Merged:** 1/23/2026 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`3cfb028`](https://github.com/langchain-ai/docs/commit/3cfb028ffeb38f0bf00edff24507065c95480836) Update Api Key in mistralai.mdx ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/python/integrations/text_embedding/mistralai.mdx` (+3 -3) </details> ### 📄 Description API Key env variable for Mistral AI embeddings should be `MISTRAL_API_KEY` and not `MISTRALAI_API_KEY` ## Overview <!-- Brief description of what documentation is being added/updated --> 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 <!-- Link to related issues, feature PRs, or discussions (if applicable) To automatically close an issue when this PR is merged, use closing keywords: - "closes #123" or "fixes #123" or "resolves #123" For regular references without auto-closing, just use: - "#123" or "See issue #123" Examples: - closes #456 (will auto-close issue #456 when PR is merged) - See #789 for context (will reference but not auto-close issue #789) --> - GitHub issue: [#21261](https://github.com/langchain-ai/langchain/issues/21261) - Feature PR: <!-- For LangChain employees, if applicable: --> - Linear issue: - Slack thread: ## Checklist <!-- Put an 'x' in all boxes that apply --> - [x] I have read the [contributing guidelines](README.md) - [x] I have tested my changes locally using `docs dev` - [x] 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](https://github.com/langchain-ai/docs/actions/workflows/create-preview-branch.yml) ## Additional notes <!-- Any other information that would be helpful for reviewers --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-17 17:23:02 -05:00
yindo closed this issue 2026-02-17 17:23:02 -05:00
yindo changed title from [PR #2036] Update name of the API Key environment variable in mistralai.mdx to [PR #2036] [MERGED] Update name of the API Key environment variable in mistralai.mdx 2026-06-05 18:16:31 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2079