[PR #1464] [MERGED] Fix indentation for API key environment variable setup #1587

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/1464
Author: @piotr-ginal
Created: 11/17/2025
Status: Merged
Merged: 11/17/2025
Merged by: @lnhsingh

Base: mainHead: ginal/indentation-fix


📝 Commits (1)

  • 1c58888 Fix indentation for API key environment variable setup

📊 Changes

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

View changed files

📝 src/snippets/embeddings-tabs-py.mdx (+9 -9)

📄 Description

Overview

Fixed indentation in the embeddings snippet used across the docs. Several environment variable assignment lines in src/snippets/embeddings-tabs-py.mdx were not indented under their corresponding if not os.environ.get(...) checks. This change adds the missing indentation so the assignments are correctly nested under the if statements.

Files changed:

  • src/snippets/embeddings-tabs-py.mdx

Type of change

Type: Fix typo/bug/formatting

Related issues/PRs

  • GitHub issue: none
  • Feature PR: none

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 (n/a)
  • I have updated navigation in src/docs.json if needed (n/a)

Additional notes

  • This is a whitespace/indentation-only fix in a snippet file; it should not change behavior beyond correcting Python indentation.
  • No docs.json or navigation changes required.
  • Recommend a quick CI/docs dev run to verify no MDX rendering issues.

🔄 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/1464 **Author:** [@piotr-ginal](https://github.com/piotr-ginal) **Created:** 11/17/2025 **Status:** ✅ Merged **Merged:** 11/17/2025 **Merged by:** [@lnhsingh](https://github.com/lnhsingh) **Base:** `main` ← **Head:** `ginal/indentation-fix` --- ### 📝 Commits (1) - [`1c58888`](https://github.com/langchain-ai/docs/commit/1c588882192b4624dd6a0e81e37fd6ecfb2a82fe) Fix indentation for API key environment variable setup ### 📊 Changes **1 file changed** (+9 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `src/snippets/embeddings-tabs-py.mdx` (+9 -9) </details> ### 📄 Description ## Overview Fixed indentation in the embeddings snippet used across the docs. Several environment variable assignment lines in src/snippets/embeddings-tabs-py.mdx were not indented under their corresponding `if not os.environ.get(...)` checks. This change adds the missing indentation so the assignments are correctly nested under the `if` statements. Files changed: - src/snippets/embeddings-tabs-py.mdx ## Type of change **Type:** Fix typo/bug/formatting ## Related issues/PRs - GitHub issue: none - Feature PR: none ## Checklist - [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 - [x] I have used **root relative** paths for internal links (n/a) - [x] I have updated navigation in `src/docs.json` if needed (n/a) ## Additional notes - This is a whitespace/indentation-only fix in a snippet file; it should not change behavior beyond correcting Python indentation. - No docs.json or navigation changes required. - Recommend a quick CI/docs dev run to verify no MDX rendering issues. --- <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:22:31 -05:00
yindo closed this issue 2026-02-17 17:22:31 -05:00
yindo changed title from [PR #1464] Fix indentation for API key environment variable setup to [PR #1464] [MERGED] Fix indentation for API key environment variable setup 2026-06-05 18:13:48 -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#1587