[PR #419] [MERGED] Tests: re-organize utilities and chat model utility #545

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

📋 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: mainHead: eugene/add_utilities_for_tests


📝 Commits (4)

📊 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.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langserve/pull/419 **Author:** [@eyurtsev](https://github.com/eyurtsev) **Created:** 1/26/2024 **Status:** ✅ Merged **Merged:** 1/26/2024 **Merged by:** [@eyurtsev](https://github.com/eyurtsev) **Base:** `main` ← **Head:** `eugene/add_utilities_for_tests` --- ### 📝 Commits (4) - [`02184eb`](https://github.com/langchain-ai/langserve/commit/02184eb61c030e89668c85aecbdd9aa950f25694) x - [`03087df`](https://github.com/langchain-ai/langserve/commit/03087dfef4f7758a31638d662eae12252713c89a) x - [`8de97eb`](https://github.com/langchain-ai/langserve/commit/8de97ebccf4d332693dfe3ad6444a9cb20c7f084) x - [`6e80692`](https://github.com/langchain-ai/langserve/commit/6e806924d6910442ef15bf7d87c8fc49fe62b285) x ### 📊 Changes **5 files changed** (+432 additions, -54 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description Add utility code to mock a chat model --- <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:20 -05:00
yindo closed this issue 2026-02-16 01:15:20 -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#545