0.1.0
Version 0.1.0
Check latest Version
Have implemented limits on the error message size and the history of failed attempts to ensure that the LLM context is not exceeded when the AI tries to fix code multiple times.
Changes Made
-
- Truncating stderr in ExecutorService
I modifiedexecutor.pyto truncate the standard error output (stderr) to the last 2000 characters before sending it to the AI for analysis or fixing. Usually, the most relevant traceback info is at the end of the error log.
- Truncating stderr in ExecutorService
-
- Limiting Error History Storage
Inexecutor.py, the error_history list now only stores the last 500 characters of each error message to keep the object size manageable.
- Limiting Error History Storage
-
- Pruning History in CodeAdaptationAgent
Incode_adaptor.py, the fix_code method now only includes the last 3 failed attempts in its prompt. This prevents the "history section" of the prompt from growing indefinitely.
- Pruning History in CodeAdaptationAgent
QLX AI powered data science by Qualex
Engineer: Antonio Martínez