open-interpreter
open-interpreter copied to clipboard
Fixed %tokens command
Describe the changes you have made:
Just updated variables to the new names to fix a crash
Reference any relevant issues (e.g. "Fixes #000"):
Pre-Submission Checklist (optional but appreciated):
- [ ] 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
Nice catch! We should add all commands to tests @KillianLucas?
Looks great! Many thanks @CyanideByte. I would have never caught this, and it totally breaks %tokens without your patch.
And I agree @Notnaton— though I'm not sure how to test %magic commands since they only exist for the terminal interface... I think we'll need to use a subprocess to run interpreter and test them (but they'll be hard to verify if they've passed...)