mirror of
https://github.com/langchain-ai/langserve.git
synced 2026-07-18 19:04:27 -04:00
[PR #92] [MERGED] Add server side callback event handling to client #342
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
main← Head:eugene/implement_client_callbacks📝 Commits (4)
46d5fc3x0176b47xd0ea6dex9cf9599x📊 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:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.