[PR #2281] [MERGED] add missing print statements #2293

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/2281
Author: @elfacu0
Created: 1/19/2026
Status: Merged
Merged: 1/22/2026
Merged by: @lnhsingh

Base: mainHead: patch-2


📝 Commits (1)

  • d909542 add missing print statements

📊 Changes

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

View changed files

📝 src/oss/langchain/models.mdx (+2 -2)

📄 Description

Overview

Updated code examples to include print statements for response content and usage metadata, matching the format of other documentation examples.
While Jupyter notebooks automatically display the last returned object, running these examples as standard Python scripts requires explicit print statements to show the information described in the docs.

Type of change

Type: Update existing documentation

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

🔄 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/2281 **Author:** [@elfacu0](https://github.com/elfacu0) **Created:** 1/19/2026 **Status:** ✅ Merged **Merged:** 1/22/2026 **Merged by:** [@lnhsingh](https://github.com/lnhsingh) **Base:** `main` ← **Head:** `patch-2` --- ### 📝 Commits (1) - [`d909542`](https://github.com/langchain-ai/docs/commit/d909542ad813aaf021ee389003b7f6c988ff0e45) add missing print statements ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/langchain/models.mdx` (+2 -2) </details> ### 📄 Description ## Overview Updated code examples to include print statements for response content and usage metadata, matching the format of other documentation examples. While Jupyter notebooks automatically display the last returned object, running these examples as standard Python scripts requires explicit print statements to show the information described in the docs. ## Type of change **Type:** Update existing documentation ## 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 - [x] I have used **root relative** paths for internal links - [x] I have updated navigation in `src/docs.json` if needed --- <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:16 -05:00
yindo closed this issue 2026-02-17 17:23:16 -05:00
yindo changed title from [PR #2281] add missing print statements to [PR #2281] [MERGED] add missing print statements 2026-06-05 18:17:43 -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#2293