mirror of
https://github.com/langchain-ai/langserve.git
synced 2026-07-16 09:34:30 -04:00
[PR #419] [MERGED] Tests: re-organize utilities and chat model utility #545
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/419
Author: @eyurtsev
Created: 1/26/2024
Status: ✅ Merged
Merged: 1/26/2024
Merged by: @eyurtsev
Base:
main← Head:eugene/add_utilities_for_tests📝 Commits (4)
02184ebx03087dfx8de97ebx6e80692x📊 Changes
5 files changed (+432 additions, -54 deletions)
View changed files
📝
tests/unit_tests/test_server_client.py(+2 -1)➕
tests/unit_tests/utils/__init__.py(+0 -0)➕
tests/unit_tests/utils/llms.py(+244 -0)➕
tests/unit_tests/utils/test_fake_chat_model.py(+185 -0)📝
tests/unit_tests/utils/tracer.py(+1 -53)📄 Description
Add utility code to mock a chat model
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.