[PR #366] [MERGED] Improvement: Support awaitable for per request config modifier #520

Closed
opened 2026-02-16 01:15:14 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langserve/pull/366
Author: @eyurtsev
Created: 1/4/2024
Status: Merged
Merged: 1/4/2024
Merged by: @eyurtsev

Base: mainHead: eugene/update_per_request_modifier


📝 Commits (2)

📊 Changes

3 files changed (+57 additions, -19 deletions)

View changed files

📝 langserve/api_handler.py (+23 -14)
📝 tests/unit_tests/test_server_client.py (+31 -2)
📝 tests/unit_tests/test_validation.py (+3 -3)

📄 Description

This PR makes sure that users can pass an async per request config modifier, so
one can access different properties of the raw request object.


🔄 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/366 **Author:** [@eyurtsev](https://github.com/eyurtsev) **Created:** 1/4/2024 **Status:** ✅ Merged **Merged:** 1/4/2024 **Merged by:** [@eyurtsev](https://github.com/eyurtsev) **Base:** `main` ← **Head:** `eugene/update_per_request_modifier` --- ### 📝 Commits (2) - [`660ec3d`](https://github.com/langchain-ai/langserve/commit/660ec3d902674a0f1c02a3fa0572b4a3b7d42b15) x - [`94fcc96`](https://github.com/langchain-ai/langserve/commit/94fcc96d08aa1a7d08f783115dd7e79c3833b0a1) x ### 📊 Changes **3 files changed** (+57 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `langserve/api_handler.py` (+23 -14) 📝 `tests/unit_tests/test_server_client.py` (+31 -2) 📝 `tests/unit_tests/test_validation.py` (+3 -3) </details> ### 📄 Description This PR makes sure that users can pass an async per request config modifier, so one can access different properties of the raw request object. --- <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 01:15:14 -05:00
yindo closed this issue 2026-02-16 01:15:14 -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#520