Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update types.py #243

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/mcp/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class RequestParams(BaseModel):
class Meta(BaseModel):
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
parameter is an opaque token that will be attached to any subsequent
notifications. The receiver is not obligated to provide these notifications.
Expand Down Expand Up @@ -781,7 +781,7 @@ class ModelHint(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.

Because LLMs can vary along multiple dimensions, choosing the "best" model is
Expand Down Expand Up @@ -1012,7 +1012,7 @@ class CancelledNotificationParams(NotificationParams):

class CancelledNotification(Notification):
"""
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.
"""

Expand Down