chore: update the mcp support version

pull/22036/head
Novice 11 months ago
parent ecc4ad0770
commit f9c07ffca1

@ -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])

@ -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

Loading…
Cancel
Save