mirror of
https://github.com/langchain-ai/langserve.git
synced 2026-07-16 09:34:30 -04:00
[PR #134] [MERGED] Fix crash when mounting same chain twice in same app #370
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/134
Author: @nfcampos
Created: 10/31/2023
Status: ✅ Merged
Merged: 10/31/2023
Merged by: @eyurtsev
Base:
main← Head:nc/fix-crash-when-mounting-same-chain-twice📝 Commits (3)
2f47c52Fix crash when mounting same chain twice in same app19360c6Lint555494bUpdate test📊 Changes
2 files changed (+8 additions, -9 deletions)
View changed files
📝
langserve/server.py(+7 -8)📝
tests/unit_tests/test_server_client.py(+1 -1)📄 Description
The crash was due to Config.configurable pydantic base model not being renamed, fixed by recursively renaming field annotations which are themselves base models
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.