Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Implement and Document New Interactive Mode Commands #302

Merged

Conversation

moming2k
Copy link
Contributor

@moming2k moming2k commented Sep 12, 2023

Description:

This PR introduces new commands for the interactive mode and updates the README.md to document these commands. The goal is to enhance the user experience by providing new functionalities and ensuring users are well-informed about how to use them.

Changes:

  • Implemented new commands in the interactive mode:
    • %debug [true/false]: Toggle debug mode.
    • %reset: Reset the current session.
    • %save_message [path]: Save messages to a specified JSON path.
    • %load_message [path]: Load messages from a specified JSON path.
    • %help: Display the help message.
  • Updated the README.md:
    • Added a section titled "Interactive Mode Commands".
    • Listed and described all the new commands.

Impact:
This update will provide users with new functionalities in the interactive mode and ensure they have clear documentation to refer to. This combination aims to improve user experience and interaction with the tool.

Request for Review:
Kindly review the changes in both the codebase and the documentation. Feedback on the implementation, command usability, and documentation clarity would be greatly appreciated. If there are suggestions for additional commands or improvements, please let me know.

interpreter/interpreter.py Outdated Show resolved Hide resolved
interpreter/interpreter.py Outdated Show resolved Hide resolved
interpreter/interpreter.py Outdated Show resolved Hide resolved
@moming2k
Copy link
Contributor Author

cleared all the whitespace problem, ready for review

@moming2k moming2k closed this Sep 12, 2023
@moming2k moming2k force-pushed the feature/handle_command_on_hook branch from 4f9b095 to aee7c52 Compare September 12, 2023 18:48
@moming2k moming2k reopened this Sep 12, 2023
@KillianLucas
Copy link
Collaborator

KillianLucas commented Sep 13, 2023

Wow @moming2k — This is something else. Packs a punch of functionality that a lot of people have been wanting (myself included), and implemented it very simply and clearly. Great PR. Merging now.

@KillianLucas KillianLucas merged commit 3871114 into OpenInterpreter:main Sep 13, 2023
joshuavial pushed a commit to joshuavial/open-interpreter that referenced this pull request Sep 15, 2023
…ommand_on_hook

Feature: Implement and Document New Interactive Mode Commands
joshuavial pushed a commit to joshuavial/open-interpreter that referenced this pull request Nov 16, 2023
…ommand_on_hook

Feature: Implement and Document New Interactive Mode Commands
Former-commit-id: 3871114
Former-commit-id: d66670cc8970f60a21710e25dbe0b7f626305b0b
Former-commit-id: 4e8c6e5a51f7d635a4d92c348547757fb17dd071 [formerly 780c01fb7360fbe710ce3b2babecad24513910ea]
Former-commit-id: a8a07e9fef5a0ab677f3839ad7cc96d5e873894e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants