-
Notifications
You must be signed in to change notification settings - Fork 40
Description
I've come across an interesting bug on the hosted sketch.dev. I added $50 to my account so that I wouldn't run out of money for this current session (hopefully 😅) When it got to some internal budget setting of $10, it was in the middle of a simple grep but it interrupted itself and reset its budget. However, the grep command never finished and the spinner just kept spinning. I waited a few minutes, then clicked the red "Cancel" button, hoping that it would kick itself and keep going. Unfortunately, that spinner is still spinning. I wanted to report this and see if you have any feedback or if I'm doing anything wrong before I ask it to continue.
UPDATE: After waiting 1 hour, I've gone ahead and asked it to continue its work, and it appears to be proceeding just fine. So maybe this is not a bug at all, and maybe it is just confusing that it stopped and I had to kick it to keep going.
The issue above from discord is because we collapse tool call cards into the preceding agent message, and I think this only happens if we see an appropriate tool response in the following message. We should amend the logic here to take care of the error case as well.