TechNickAI / AICodeBot

AI-powered tool for developers, simplifying coding tasks and improving workflow efficiency. 🤖
GNU Affero General Public License v3.0
50 stars 12 forks source link

commit - interesting hallucination #57

Closed hanselke closed 1 year ago

hanselke commented 1 year ago

https://github.com/openbnet/troybot/commit/d8c28a653121b9af375bd1eb87f4f841e218c546#

only added a console log to output time taken for script to run.

While it hallucinates about that os.userInfo().uid and that's PROBABLY something out of scope for a one shot approach, the interesting thing is that it now added a 'Total time taken' feature and hallucinated the answer.

will take a stab at mucking with the prompts to see if i can fix it.

hanselke commented 1 year ago

https://github.com/gorillamania/AICodeBot/pulls

sort of works. However it still hallucinates ALOT when used on itself. I suspect that when files are larger, it seems to forget about looking only for the + and - lines.

hanselke commented 1 year ago

seems like the additional diffs are caused by autopep8 linting the code. my bad, setup vs code to use black now.