progress_token is 0 on first tool-call and the return is taken mistakenly

This commit is contained in:
Thomas Sheffler
2025-01-27 19:04:20 -08:00
parent 978cfe3f92
commit 76325b7846

View File

@@ -599,7 +599,7 @@ class Context(BaseModel):
else None else None
) )
if not progress_token: if progress_token == None:
return return
await self.request_context.session.send_progress_notification( await self.request_context.session.send_progress_notification(