Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"mcpServers": {
"docs-langchain": {
"type": "http",
"url": "https://docs.langchain.com/mcp"
}
}
}
4 changes: 2 additions & 2 deletions libs/redis/tests/unit_tests/test_tool_message_issue_51.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_add_tool_message_stores_tool_call_id(
) -> None:
"""Test that adding a ToolMessage stores tool_call_id.

This is the fix for issue #51 where ToolMessage.tool_call_id
This is the fix for issue #51 where `ToolMessage.tool_call_id`
was not being stored, causing KeyError on deserialization.
"""
mock_redis_client = MagicMock()
Expand Down Expand Up @@ -184,7 +184,7 @@ def capture_load(**kwargs: Any) -> None:
def test_mixed_message_types_with_tool_message(
self, mock_search_index: MagicMock
) -> None:
"""Test conversation with mixed message types including ToolMessage."""
"""Test conversation with mixed message types including `ToolMessage`."""
mock_redis_client = MagicMock()
mock_redis_client.client_setinfo = MagicMock()
mock_redis_client.ft = MagicMock()
Expand Down
Loading