mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-19 14:54:24 +01:00
@@ -42,7 +42,7 @@ class RequestParams(BaseModel):
|
|||||||
class Meta(BaseModel):
|
class Meta(BaseModel):
|
||||||
progressToken: ProgressToken | None = None
|
progressToken: ProgressToken | None = None
|
||||||
"""
|
"""
|
||||||
If specified, the caller is requesting out-of-band progress notifications for
|
If specified, the caller requests out-of-band progress notifications for
|
||||||
this request (as represented by notifications/progress). The value of this
|
this request (as represented by notifications/progress). The value of this
|
||||||
parameter is an opaque token that will be attached to any subsequent
|
parameter is an opaque token that will be attached to any subsequent
|
||||||
notifications. The receiver is not obligated to provide these notifications.
|
notifications. The receiver is not obligated to provide these notifications.
|
||||||
@@ -782,7 +782,7 @@ class ModelHint(BaseModel):
|
|||||||
|
|
||||||
class ModelPreferences(BaseModel):
|
class ModelPreferences(BaseModel):
|
||||||
"""
|
"""
|
||||||
The server's preferences for model selection, requested of the client during
|
The server's preferences for model selection, requested by the client during
|
||||||
sampling.
|
sampling.
|
||||||
|
|
||||||
Because LLMs can vary along multiple dimensions, choosing the "best" model is
|
Because LLMs can vary along multiple dimensions, choosing the "best" model is
|
||||||
@@ -1015,7 +1015,7 @@ class CancelledNotification(
|
|||||||
Notification[CancelledNotificationParams, Literal["notifications/cancelled"]]
|
Notification[CancelledNotificationParams, Literal["notifications/cancelled"]]
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
This notification can be sent by either side to indicate that it is cancelling a
|
This notification can be sent by either side to indicate that it is canceling a
|
||||||
previously-issued request.
|
previously-issued request.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user