progress_token is 0 on first tool-call and the return is taken mistakenly
This commit is contained in:
parent
978cfe3f92
commit
76325b7846
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue