[PR #405] [MERGED] docs(oss): add await to resolve initChatModel promise #718

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/405
Author: @markgoho
Created: 9/8/2025
Status: Merged
Merged: 9/8/2025
Merged by: @lnhsingh

Base: mainHead: mgoho/fix/await-init-chat-model


📝 Commits (2)

  • 1b86b97 add await to resolve promise
  • 9ec273e Merge branch 'main' into mgoho/fix/await-init-chat-model

📊 Changes

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

View changed files

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

📄 Description

without await, we're assigning a promise to the model variable, leading to errors in anything else we do with model


🔄 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/405 **Author:** [@markgoho](https://github.com/markgoho) **Created:** 9/8/2025 **Status:** ✅ Merged **Merged:** 9/8/2025 **Merged by:** [@lnhsingh](https://github.com/lnhsingh) **Base:** `main` ← **Head:** `mgoho/fix/await-init-chat-model` --- ### 📝 Commits (2) - [`1b86b97`](https://github.com/langchain-ai/docs/commit/1b86b97d02d5f27ecfc6a8f3271727a775089ae2) add await to resolve promise - [`9ec273e`](https://github.com/langchain-ai/docs/commit/9ec273e159ef76bb66221482ec49ecfd10872bfe) Merge branch 'main' into mgoho/fix/await-init-chat-model ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/langchain-models.mdx` (+1 -1) </details> ### 📄 Description without `await`, we're assigning a promise to the `model` variable, leading to errors in anything else we do with `model` --- <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:20:59 -05:00
yindo closed this issue 2026-02-17 17:20:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#718