mirror of
https://github.com/langgenius/dify.git
synced 2026-03-12 10:38:54 +08:00
chore: update the mcp support version
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user