Skip to content

Commit ae76502

Browse files
committed
Improved --local mode
1 parent 69dc8e6 commit ae76502

File tree

1 file changed

+2
-2
lines changed
  • interpreter/terminal_interface/profiles/defaults

1 file changed

+2
-2
lines changed

interpreter/terminal_interface/profiles/defaults/local.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,13 +437,13 @@ def download_model(models_dir, models, interpreter):
437437
"""
438438

439439
# 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```"
440-
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)?"
440+
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)?"
441441
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?)"
442442
interpreter.code_output_sender = "user"
443443
interpreter.max_output = 500
444444
interpreter.llm.context_window = 8000
445445
interpreter.force_task_completion = False
446-
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."
446+
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."
447447

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

0 commit comments

Comments
 (0)