FileWriteAction.init() got an unexpected keyword argument 'file'
Describe the bug I wrote to the file src/pages/Home/components/VipIconCarousel.tsx. assistant avatar I've created the initial VipIconCarousel component to extract the vipIcons data and rendering logic from index.tsx. Next, I should continue working on extracting the NewsCarousel component for the groupNews data.
Oops. Something went wrong: FileWriteAction.init() got an unexpected keyword argument 'file'
Steps to Reproduce 1.always when writting code, half part code ,stop error 2. 3.
Expected behavior
Actual behavior
Additional context
That's a bad LLM response. We should be try/excepting that error
@raymond-etet Can you copy paste the entire error including traceback?
I've been getting this error lately. The LLM does recover and set path properly on the following action.
We might want to hack in support for file though. I do this for contents->content already
I wonder if this has something to do with it. We add "file" in event and add to monologue, which we then send to the LLM to condense. Is there a reason why we can't name it "path"?
But I didn't get this error myself and might well be missing something. I'd watch if this still happens after #359 gets merged.
Oh I bet that's definitely it! Just merged #359, let's hope it works
Gonna close this for now but let's reopen if it reappears.