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
2 changes: 1 addition & 1 deletion python/src/mcp_server/features/documents/version_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async def create_version(
ctx: Context,
project_id: str,
field_name: str,
content: Any,
content: dict[str, Any] | list[dict[str, Any]],
change_summary: str | None = None,
document_id: str | None = None,
created_by: str = "system",
Expand Down
4 changes: 2 additions & 2 deletions python/src/mcp_server/modules/rag_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async def get_available_sources(ctx: Context) -> str:

@mcp.tool()
async def perform_rag_query(
ctx: Context, query: str, source_domain: str = None, match_count: int = 5
ctx: Context, query: str, source_domain: str | None = None, match_count: int = 5
) -> str:
"""
Search knowledge base for relevant content using RAG.
Expand Down Expand Up @@ -135,7 +135,7 @@ async def perform_rag_query(

@mcp.tool()
async def search_code_examples(
ctx: Context, query: str, source_domain: str = None, match_count: int = 5
ctx: Context, query: str, source_domain: str | None = None, match_count: int = 5
) -> str:
"""
Search for relevant code examples in the knowledge base.
Expand Down