OpenInterpreter / open-interpreter

A natural language interface for computers
http://openinterpreter.com/
GNU Affero General Public License v3.0
57.01k stars 4.9k forks source link

generated files contain echo "##active_lineN##" lines #1529

Open koenhandekyn opened 2 weeks ago

koenhandekyn commented 2 weeks ago

Describe the bug

when i'm asking to create some files, the actual files often contain these tracing support lines and i'm not able to instruct to avoid this in any way.

echo "##active_line2##"
# frozen_string_literal: true
echo "##active_line3##"

echo "##active_line4##"
class Tasks::CleanupLimitJob < ApplicationJob
echo "##active_line5##"
  queue_as :default
echo "##active_line6##"

echo "##active_line7##"
  def perform(tag: "", limit: 14)
echo "##active_line8##"
    Ops::Backup.retain_last_limit_cleanup_policy(tag: tag, limit: limit)
echo "##active_line9##"
  end
echo "##active_line10##"
end
echo "##active_line11##"

Reproduce

have it read a gem project and ask it to generate e.g. a new active job instance.

Expected behavior

files written should not contain 'echo' lines that serves debugging

Screenshots

No response

Open Interpreter version

0.4.3 Developer Preview

Python version

3.10.13

Operating System name and version

macOS (latest greatest)

Additional context

No response

1345822 commented 7 hours ago

Carefully check the configuration and logic of the scripts, tools or code generators used to create these files. Find out whether these trace support lines are automatically added anywhere, and try to modify the relevant settings or code logic to avoid this situation.