mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-19 06:54:18 +01:00
progress_token is 0 on first tool-call and the return is taken mistakenly
This commit is contained in:
@@ -599,7 +599,7 @@ class Context(BaseModel):
|
||||
else None
|
||||
)
|
||||
|
||||
if not progress_token:
|
||||
if progress_token == None:
|
||||
return
|
||||
|
||||
await self.request_context.session.send_progress_notification(
|
||||
|
||||
Reference in New Issue
Block a user