Skip to content

Commit fd75d7d

Browse files
authored
feat(infra): MCP server for langchain docs (#87)
1 parent 37a4272 commit fd75d7d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.mcp.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"mcpServers": {
3+
"docs-langchain": {
4+
"type": "http",
5+
"url": "https://docs.langchain.com/mcp"
6+
}
7+
}
8+
}

libs/redis/tests/unit_tests/test_tool_message_issue_51.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_add_tool_message_stores_tool_call_id(
2222
) -> None:
2323
"""Test that adding a ToolMessage stores tool_call_id.
2424
25-
This is the fix for issue #51 where ToolMessage.tool_call_id
25+
This is the fix for issue #51 where `ToolMessage.tool_call_id`
2626
was not being stored, causing KeyError on deserialization.
2727
"""
2828
mock_redis_client = MagicMock()
@@ -184,7 +184,7 @@ def capture_load(**kwargs: Any) -> None:
184184
def test_mixed_message_types_with_tool_message(
185185
self, mock_search_index: MagicMock
186186
) -> None:
187-
"""Test conversation with mixed message types including ToolMessage."""
187+
"""Test conversation with mixed message types including `ToolMessage`."""
188188
mock_redis_client = MagicMock()
189189
mock_redis_client.client_setinfo = MagicMock()
190190
mock_redis_client.ft = MagicMock()

0 commit comments

Comments
 (0)