refactor: replace mcp.types as types to from mcp import types (#1986)
This commit is contained in:
parent
4fc49c62bd
commit
1a8c14a5b8
1 changed files with 66 additions and 73 deletions
|
|
@ -18,7 +18,7 @@ from typing import TYPE_CHECKING, Protocol
|
|||
|
||||
from pydantic import TypeAdapter
|
||||
|
||||
import mcp.types as types
|
||||
from mcp import types
|
||||
from mcp.shared._context import RequestContext
|
||||
from mcp.shared.session import RequestResponder
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue