[PR #92] [MERGED] Add server side callback event handling to client #342

Closed
opened 2026-02-16 00:20:13 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langserve/pull/92
Author: @eyurtsev
Created: 10/24/2023
Status: Merged
Merged: 10/24/2023
Merged by: @eyurtsev

Base: mainHead: eugene/implement_client_callbacks


📝 Commits (4)

📊 Changes

9 files changed (+673 additions, -81 deletions)

View changed files

📝 langserve/callbacks.py (+115 -0)
📝 langserve/client.py (+130 -17)
📝 langserve/serialization.py (+115 -4)
📝 poetry.lock (+26 -5)
📝 pyproject.toml (+1 -1)
tests/unit_tests/test_callbacks.py (+62 -0)
📝 tests/unit_tests/test_serialization.py (+41 -1)
📝 tests/unit_tests/test_server_client.py (+140 -52)
📝 tests/unit_tests/utils.py (+43 -1)

📄 Description

This PR adds the ability to handle server side events by the remote runnables.

Prior to landing:

  • Blocked on 2 changes in langchain to be released
  • Should add ChatGeneration, Generation... to list of well known lc types (otherwise traces with llms won't work correctly)

🔄 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/langserve/pull/92 **Author:** [@eyurtsev](https://github.com/eyurtsev) **Created:** 10/24/2023 **Status:** ✅ Merged **Merged:** 10/24/2023 **Merged by:** [@eyurtsev](https://github.com/eyurtsev) **Base:** `main` ← **Head:** `eugene/implement_client_callbacks` --- ### 📝 Commits (4) - [`46d5fc3`](https://github.com/langchain-ai/langserve/commit/46d5fc3ad5cb497bd6a3445d4e3311e5d3c60e7c) x - [`0176b47`](https://github.com/langchain-ai/langserve/commit/0176b4754b14ee131f5c922f9df8a95e83647bba) x - [`d0ea6de`](https://github.com/langchain-ai/langserve/commit/d0ea6dea487e3ad47c0383df73c1d3d609361c3f) x - [`9cf9599`](https://github.com/langchain-ai/langserve/commit/9cf9599ecaf600638af5baa6f7def950b1abdb14) x ### 📊 Changes **9 files changed** (+673 additions, -81 deletions) <details> <summary>View changed files</summary> 📝 `langserve/callbacks.py` (+115 -0) 📝 `langserve/client.py` (+130 -17) 📝 `langserve/serialization.py` (+115 -4) 📝 `poetry.lock` (+26 -5) 📝 `pyproject.toml` (+1 -1) ➕ `tests/unit_tests/test_callbacks.py` (+62 -0) 📝 `tests/unit_tests/test_serialization.py` (+41 -1) 📝 `tests/unit_tests/test_server_client.py` (+140 -52) 📝 `tests/unit_tests/utils.py` (+43 -1) </details> ### 📄 Description This PR adds the ability to handle server side events by the remote runnables. Prior to landing: - Blocked on 2 changes in langchain to be released - Should add ChatGeneration, Generation... to list of well known lc types (otherwise traces with llms won't work correctly) --- <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-16 00:20:13 -05:00
yindo closed this issue 2026-02-16 00:20:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langserve#342