SuperAGI icon indicating copy to clipboard operation
SuperAGI copied to clipboard

SuperCoder out has square brackets - have to manually rename

Open Phoenix2809 opened this issue 2 years ago • 1 comments

I've been trying to use SuperCoder and sometimes, what is happening is in the output, I see square brackets in the name of every file in the output. I have to manually rename it to use the file. I'm not sure why is this happening.

Phoenix2809 avatar Jul 04 '23 14:07 Phoenix2809

It's because of the prompt template used. I assume they are used to reduce the impact the history has on the produced output, as the history can get very long and change the produced output. This is not optimal, and I'm currently working on improving the prompt templates, including condensing the task history by extracting and only returning summaries of history items back to the openai api. I've come quite far, but need to do some quality assessment before making a PR.

gatepoet avatar Jul 10 '23 13:07 gatepoet

This issue has been fixed in v0.0.9. Please ping us on discord if you are still facing this issue. Closing this issue.

JohnHunt999 avatar Aug 02 '23 13:08 JohnHunt999