chore: update the mcp support version

This commit is contained in:
Novice
2025-06-26 15:40:07 +08:00
parent ecc4ad0770
commit f9c07ffca1
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ from typing import Any, Generic, TypeVar
from core.mcp.session.base_session import BaseSession
from core.mcp.types import LATEST_PROTOCOL_VERSION, RequestId, RequestParams
SUPPORTED_PROTOCOL_VERSIONS: tuple[int, str] = (1, LATEST_PROTOCOL_VERSION)
SUPPORTED_PROTOCOL_VERSIONS: list[str] = ["2024-11-05", LATEST_PROTOCOL_VERSION]
SessionT = TypeVar("SessionT", bound=BaseSession[Any, Any, Any, Any, Any])

View File

@ -31,7 +31,7 @@ for reference.
not separate types in the schema.
"""
LATEST_PROTOCOL_VERSION = "2024-11-05"
LATEST_PROTOCOL_VERSION = "2025-03-26"
ProgressToken = str | int
Cursor = str