[PR #236] [MERGED] Add support for API route via prefix #448

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langserve/pull/236
Author: @eyurtsev
Created: 11/16/2023
Status: Merged
Merged: 11/16/2023
Merged by: @eyurtsev

Base: mainHead: add-app-prefix


📝 Commits (3)

📊 Changes

2 files changed (+28 additions, -1 deletions)

View changed files

📝 langserve/server.py (+7 -1)
📝 tests/unit_tests/test_server_client.py (+21 -0)

📄 Description

  • Fix serving of playground assets when using an API router with a custom prefix

🔄 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/236 **Author:** [@eyurtsev](https://github.com/eyurtsev) **Created:** 11/16/2023 **Status:** ✅ Merged **Merged:** 11/16/2023 **Merged by:** [@eyurtsev](https://github.com/eyurtsev) **Base:** `main` ← **Head:** `add-app-prefix` --- ### 📝 Commits (3) - [`01a2490`](https://github.com/langchain-ai/langserve/commit/01a2490e9e0b0c7969e207c98394b630269feb67) Fix serving playground for APIRouters with prefix - [`e9be7d2`](https://github.com/langchain-ai/langserve/commit/e9be7d204009b179c1372a743678807cdda9ad72) x - [`b5ce51a`](https://github.com/langchain-ai/langserve/commit/b5ce51a7903f1a1c12232a26654dfcb74b19fee5) x ### 📊 Changes **2 files changed** (+28 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `langserve/server.py` (+7 -1) 📝 `tests/unit_tests/test_server_client.py` (+21 -0) </details> ### 📄 Description * Fix serving of playground assets when using an API router with a custom prefix --- <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:02 -05:00
yindo closed this issue 2026-02-16 01:15:02 -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#448