-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(chat.go): remove unused import and banner code to improve code …
…cleanliness and reduce unnecessary dependencies feat(chat.go): remove setting of content in viewport to improve code readability and remove unnecessary visual element refactor(chat.go): remove unnecessary initialization of modelStruct and move reset function call to improve code readability and code organization refactor(chat.go): remove unnecessary return of tea.EnterAltScreen in Init function to improve code readability and remove unnecessary command refactor(chat.go): remove unnecessary condition for rendering aiResponse in markdown mode to improve code readability and remove unnecessary check refactor(chatUpdate.go): refactor reset function to improve code readability and code organization, and add additional information in aiResponse refactor(chatUpdate.go): refactor changeResponseUp function to handle edge case when there are no previous messages and reset the model refactor(chatUpdate.go): refactor changeResponseDown function to handle edge case when there are no next messages and reset the model
- Loading branch information
1 parent
31c95d5
commit aff2c46
Showing
2 changed files
with
25 additions
and
13 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