langchain-community: fix unicode escaping issue with SlackToolkit (#16616)

- **Description:** fix unicode escaping issue with SlackToolkit
  - **Issue:**  #16610
This commit is contained in:
taimo
2024-01-30 01:38:12 +09:00
committed by GitHub
parent f3fdc5c5da
commit d3d9244fee
2 changed files with 2 additions and 2 deletions

View File

@@ -39,6 +39,6 @@ class SlackGetMessage(SlackBaseTool):
for message in messages
if "user" in message and "text" in message and "ts" in message
]
return json.dumps(filtered_messages)
return json.dumps(filtered_messages, ensure_ascii=False)
except Exception as e:
return "Error creating conversation: {}".format(e)