Update types.py (#243)

excluded prompts/get change
This commit is contained in:
Nino Risteski
2025-03-20 18:53:36 +01:00
committed by GitHub
parent e334f7e4b6
commit 04586f8f86

View File

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