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
1 change: 1 addition & 0 deletions src/brainlayer/mcp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ def _calling_session_id() -> str:
return _MCP_PROCESS_SESSION_ID
return _server_owned_conversation_id(session)


# Tool annotations
_MAX_FULL_CONTENT_RESULT_CHARS = 250_000
_MAX_RESULT_META = {"anthropic/maxResultSizeChars": _MAX_FULL_CONTENT_RESULT_CHARS}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_mcp_palette.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
import asyncio

import pytest
from mcp.types import TextContent

import brainlayer.mcp as mcp_module
from brainlayer.mcp import _full_tool_definitions, call_tool, list_tools
from brainlayer.mcp.palette import CORE_TOOL_NAMES, ToolPalette
from mcp.types import TextContent

CORE_WITH_CONTROL = (*CORE_TOOL_NAMES, "expand_palette")

Expand Down
4 changes: 1 addition & 3 deletions tests/test_t3_app_provenance.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,7 @@ def sized_codex_record(text: str, byte_length: int) -> bytes:
json.dumps(
{
"type": "user",
"message": {
"content": [{"type": "text", "text": "Keep ordinary Claude ingestion available."}]
},
"message": {"content": [{"type": "text", "text": "Keep ordinary Claude ingestion available."}]},
"timestamp": "2026-08-01T12:00:00Z",
}
)
Expand Down
Loading