New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addition of web search feature for better error resolution and new feature implementation #383
base: main
Are you sure you want to change the base?
Conversation
Here is a video of the same (here although error was hardcoded and browser opening was hardcoded just to show) screen-capture.webm |
Requesting your review @ARajgor |
thanks bro |
…equired in both run and bug actions as bug also tries to patch
I added an Error analyzer agent because for "bug" and "run" both we needed similar function error analyzer, plus we cannot import Agent into them due to circular dependency, hence it was best to create another Agent called Error Analyzer which analyzes the error and solves the error either by itself or through net what ever AI feels is best. This error analyzer could be used other places too I feel and hence an Error Analyzer agent was important |
Added web search functionality for feature addition and tested it too. |
Not sure about your changes... |
Hey. Did I write any code that is repeating anything from the browser or search? I couldn't find out. Please do point out and I'll fix. Thanks. |
looks good to me. |
…b search for feature addition and error analysis
Enhancements in this PR include:
runner.py
, triggered when the AI identifies unsolvable errors. This enhancement is crucial as error complexity varies dynamically, necessitating external resources for resolution.command_output = process.stdout.decode('utf-8')
to capture error messages accurately by redirectingstdout
tostderr
. Previously, blank error strings were being returned which was not at all helpful for the AI and it had to guess from the code itself.