open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

Fixed system message format string. Updated profile defaults.

Open CyanideByte opened this issue 1 year ago • 1 comments

Describe the changes you have made:

Formatting string in default_system_message.py fixed Updated default values in the profiles Updated the defaults in start_terminal_interface.py (might not need this part anymore after the new profiles update?)

Reference any relevant issues (e.g. "Fixes #000"):

Pre-Submission Checklist (optional but appreciated):

  • [x] I have included relevant documentation updates (stored in /docs)
  • [x] I have read docs/CONTRIBUTING.md
  • [x] I have read docs/ROADMAP.md

OS Tests (optional but appreciated):

  • [x] Tested on Windows
  • [ ] Tested on MacOS
  • [x] Tested on Linux

CyanideByte avatar Feb 27 '24 10:02 CyanideByte

After investigating, the double brackets are intentional and are used to render the proper values right before sending to the LLM. It is done here: https://github.com/KillianLucas/open-interpreter/blob/main/interpreter/core/render_message.py

You can see these values by using interpreter --debug and sending any command (system message is printed out).

Suggest to revert interpreter/core/default_system_message.py

MikeBirdTech avatar Mar 14 '24 15:03 MikeBirdTech