[PR #1505] [MERGED] fix: ToolNode output isn't a str and contains non-ASCII characters #2114

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/1505
Author: @gbaian10
Created: 8/28/2024
Status: Merged
Merged: 8/29/2024
Merged by: @vbarda

Base: mainHead: fix/#1504


📝 Commits (2)

  • 9c46186 fix: ToolNode output isn't a str and contains non-ASCII characters
  • b8e18a0 test: add tool_node output ensure utf8 test

📊 Changes

2 files changed (+18 additions, -1 deletions)

View changed files

📝 libs/langgraph/langgraph/prebuilt/tool_node.py (+1 -1)
📝 libs/langgraph/tests/test_prebuilt.py (+17 -0)

📄 Description

fix: #1504
Solve the issue where non-ASCII characters can't be restored when the tool's output is not a string.


🔄 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/langgraph/pull/1505 **Author:** [@gbaian10](https://github.com/gbaian10) **Created:** 8/28/2024 **Status:** ✅ Merged **Merged:** 8/29/2024 **Merged by:** [@vbarda](https://github.com/vbarda) **Base:** `main` ← **Head:** `fix/#1504` --- ### 📝 Commits (2) - [`9c46186`](https://github.com/langchain-ai/langgraph/commit/9c46186e08da703c318605474114ec8f9700c730) fix: ToolNode output isn't a str and contains non-ASCII characters - [`b8e18a0`](https://github.com/langchain-ai/langgraph/commit/b8e18a051f95bc9b39561793999aa664fbf4e088) test: add tool_node output ensure utf8 test ### 📊 Changes **2 files changed** (+18 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph/langgraph/prebuilt/tool_node.py` (+1 -1) 📝 `libs/langgraph/tests/test_prebuilt.py` (+17 -0) </details> ### 📄 Description fix: #1504 Solve the issue where non-ASCII characters can't be restored when the tool's output is not a string. - #1504 --- <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-20 17:46:19 -05:00
yindo closed this issue 2026-02-20 17:46:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#2114