open-interpreter
open-interpreter copied to clipboard
Fix Llama3 backtick hallucination in code blocks
Describe the changes you have made:
Fixed a common hallucination of Llama3 inserting a backtick at the start of a code block.
Reference any relevant issues (e.g. "Fixes #000"):
`
print("Hello, World!")
Cell In[6], line 1 ` ^ SyntaxError: invalid syntax
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
- [ ] Tested on Linux