-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(chat): integrate prompt_toolkit for advanced input handling and …
…rich for output formatting - Added prompt_toolkit PromptSession to handle multi-line input, history, and cursor movement. - Integrated rich for rendering Markdown and colorized output. - Adjusted input processing to pass user queries to the assistant via create_message. - Ensured the output is displayed using rich's console.print for proper formatting. - Included error handling for invalid commands and exceptions during execution.
- Loading branch information
Estrada Irribarra, Rodrigo Andres
committed
Oct 23, 2024
1 parent
f6fa3fb
commit afa4f2c
Showing
5 changed files
with
49 additions
and
30 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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