Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Type Safety (Issue front end lmao) (ChatGPTNextWeb#203)
* Chore [Chat] [Client Api] Type Safety - [+] chore(chat.ts): change 'var' to 'let' for 'api' variable assignment - [+] refactor(chat.ts): improve comment explaining the reason for using 'let' instead of 'var' * Fix [Chat] [Client Api] change 'var' to 'let' for variable 'api' - [+] fix(chat.ts): change 'var' to 'let' for variable 'api' to allow conditional reassignment - [+] fix(chat.ts): update session messages with new bot and user messages * Chore [Chat] Update Session Messages - [+] chore(chat.ts): update session messages with new bot message in useChatStore * Fix [Chat] Concat - [+] fix(chat.ts): remove unnecessary code for updating session messages - [+] feat(chat.ts): add support for updating session messages
- Loading branch information