OpenDevin icon indicating copy to clipboard operation
OpenDevin copied to clipboard

Auto restarted Jupyter kernel

Open SmartManoj opened this issue 1 month ago • 1 comments

Solves #1616, #1627

  1. Auto restarted Jupyter kernel. Sometimes LLM is ignoring that.
    https://github.com/OpenDevin/OpenDevin/issues/1616#issuecomment-2112150465

  2. Context length is increased quickly due to the output of the package installation. So, changed the output of pip installs to a single line. https://github.com/OpenDevin/OpenDevin/issues/1616#issuecomment-2106134659

  3. Changed regex to non-greedy versions for the following LLM output

Install the module using
<execute_ipython>
%pip install matplotlib
</execute_ipython>

Then import using this ...
<execute_ipython>
import matplotlib.pyplot as plt
</execute_ipython>
  1. Refactored execute_cli

image

SmartManoj avatar May 15 '24 12:05 SmartManoj