[PR #44] [CLOSED] Callbacks WIP #299

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langserve/pull/44
Author: @eyurtsev
Created: 10/12/2023
Status: Closed

Base: mainHead: eugene/serialization_and_callbacks


📝 Commits (10+)

📊 Changes

10 files changed (+987 additions, -69 deletions)

View changed files

langserve/callbacks.py (+491 -0)
📝 langserve/client.py (+91 -24)
langserve/schema.py (+18 -0)
📝 langserve/serialization.py (+116 -24)
📝 langserve/server.py (+45 -14)
📝 langserve/validation.py (+18 -1)
tests/unit_tests/test_callbacks.py (+55 -0)
📝 tests/unit_tests/test_serialization.py (+8 -4)
📝 tests/unit_tests/test_server_client.py (+102 -1)
📝 tests/unit_tests/utils.py (+43 -1)

📄 Description

  • Callback implementation with invoke/batch/ainvoke/abatch endpoints.
  • Iterating in langserve, but some of the supporting code needs to be committed to langchain rather than langserve. All seems to work. :)

🔄 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/44 **Author:** [@eyurtsev](https://github.com/eyurtsev) **Created:** 10/12/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `eugene/serialization_and_callbacks` --- ### 📝 Commits (10+) - [`c0589d0`](https://github.com/langchain-ai/langserve/commit/c0589d0919f3665da76b14a6eafb5705e8913ec1) x - [`8e4e31f`](https://github.com/langchain-ai/langserve/commit/8e4e31fa41b23fa95ebf8d82b1a40bc092313c68) xq - [`4f1b123`](https://github.com/langchain-ai/langserve/commit/4f1b123108d01c36d8156675d4534d9c6f4d65eb) qx - [`4e1c6a7`](https://github.com/langchain-ai/langserve/commit/4e1c6a7471a24ad319b4aba347796f75fef588ab) xMerge branch 'main' into eugene/serialization_and_callbacks - [`3b917bb`](https://github.com/langchain-ai/langserve/commit/3b917bb4b3121a305361394f6176d1c2903e4c90) x - [`5b46d71`](https://github.com/langchain-ai/langserve/commit/5b46d7105264987a9ef656a2c5a8b09efa6e82bc) x - [`fc5dd0d`](https://github.com/langchain-ai/langserve/commit/fc5dd0d0411abb0888ae265467b06b6ffee63258) x - [`07b9ec3`](https://github.com/langchain-ai/langserve/commit/07b9ec33f381b9a206cfbbfccc56e59e09e0ed3b) w/ debug - [`8cfa039`](https://github.com/langchain-ai/langserve/commit/8cfa039c47e6a5303fea3df3e6a2e675e3d89bc5) x - [`f91a1b2`](https://github.com/langchain-ai/langserve/commit/f91a1b22fe8a77c6e7a6e2c52ab85381877935fc) x ### 📊 Changes **10 files changed** (+987 additions, -69 deletions) <details> <summary>View changed files</summary> ➕ `langserve/callbacks.py` (+491 -0) 📝 `langserve/client.py` (+91 -24) ➕ `langserve/schema.py` (+18 -0) 📝 `langserve/serialization.py` (+116 -24) 📝 `langserve/server.py` (+45 -14) 📝 `langserve/validation.py` (+18 -1) ➕ `tests/unit_tests/test_callbacks.py` (+55 -0) 📝 `tests/unit_tests/test_serialization.py` (+8 -4) 📝 `tests/unit_tests/test_server_client.py` (+102 -1) 📝 `tests/unit_tests/utils.py` (+43 -1) </details> ### 📄 Description * Callback implementation with invoke/batch/ainvoke/abatch endpoints. * Iterating in langserve, but some of the supporting code needs to be committed to langchain rather than langserve. All seems to work. :) --- <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:05 -05:00
yindo closed this issue 2026-02-16 00:20:05 -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#299