Skip to content

Commit

Permalink
Improved --local mode
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed May 13, 2024
1 parent 69dc8e6 commit ae76502
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interpreter/terminal_interface/profiles/defaults/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,13 +437,13 @@ def download_model(models_dir, models, interpreter):
"""

# interpreter.user_message_template = "{content} Please send me some code that would be able to answer my question, in the form of ```python\n... the code ...\n``` or ```shell\n... the code ...\n```"
interpreter.code_output_template = "I executed that code. This was the ouput: {content}\n\nWhat does this output mean / what's next (if anything, or are we done)?"
interpreter.code_output_template = "I executed that code. This was the output: {content}\n\nWhat does this output mean (I can't understand it, please help) / what's next (if anything, or are we done)?"
interpreter.empty_code_output_template = "The code above was executed on my machine. It produced no text output. what's next (if anything, or are we done?)"
interpreter.code_output_sender = "user"
interpreter.max_output = 500
interpreter.llm.context_window = 8000
interpreter.force_task_completion = False
interpreter.user_message_template = "{content}. If my question must be solved by running code on my computer, send me code to run enclosed in ```python or ```shell. Otherwise, don't send code. Be concise, don't include anything unnecessary. Don't use placeholders, I can't edit code."
interpreter.user_message_template = "{content}. If my question must be solved by running code on my computer, send me code to run enclosed in ```python (preferred) or ```shell (less preferred). Otherwise, don't send code. Be concise, don't include anything unnecessary. Don't use placeholders, I can't edit code."

# Set offline for all local models
interpreter.offline = True

0 comments on commit ae76502

Please sign in to comment.