agentsea / surfkit

A toolkit for building multimodal AI agents
https://docs.hub.agentsea.ai
MIT License
113 stars 10 forks source link

Task.record_action() missing 1 required positional argument: 'state' #107

Closed gyardley closed 2 months ago

gyardley commented 2 months ago

It looks like the record_action call in surf4v.py isn't returning the new 'state' argument required by the latest version of taskara - I'm repeatedly getting the error in the title, followed by a RetryError:

Error taking action: RetryError[<Future at 0x170223a40 state=finished raised TypeError>]

pbarker commented 2 months ago

Hey @gyardley thanks for raising this. I believe it should be fixed in https://github.com/agentsea/surfkit/pull/109/files#diff-09042ecfab81747d62ca72710e931aa289f8fb8cf4719bdd63a9dbf4e1efafa1R264

This is now published in 0.1.238, hopefully this helps!