-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feat: Add 'explain prompt' functionality to AI tools
- Introduced new prompt 'explain prompt' to analyze and explain how a given prompt was understood to generate a response. - Replaced `thread_to_string` with `chats_to_string` to improve clarity in handling chat threads. - Added commands `gptRequest` and `gptExchange` to support retrieval of previous requests and exchanges. - Updated `send_request` to store the last request and response in `GPTState` for better context management. - Removed redundant `GPTState.last_response` assignment in `gpt_query`. These changes enhance the ability to run 'explain prompt' and understand prompt-response mechanics.
- Loading branch information
Showing
5 changed files
with
27 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters