nova-betterchat/src/utils
Limour 4cfbdac7d6
Set a system role as a persistent role. (#134)
* set a system role as a persistent role

Fixes https://github.com/ztjhz/BetterChatGPT/issues/130

* handle system message exceed token limit + improve logic

---------

Co-authored-by: Jing Hua <tohjinghua123@gmail.com>
2023-05-06 11:15:12 +08:00
..
api.ts feat: Azure OpenAI endpoint support 2023-04-06 02:48:12 +08:00
chat.ts Refactor folder (#188) 2023-04-02 16:27:19 +08:00
date.ts feat: Import and export chats 2023-03-10 17:03:46 +08:00
downloadFile.ts feat: Import and export chats 2023-03-10 17:03:46 +08:00
google-api.ts Sync to Google Drive (#233) 2023-04-14 15:29:13 +08:00
import.ts fix: chatgpt import 2023-04-26 15:25:36 +08:00
messageUtils.ts Set a system role as a persistent role. (#134) 2023-05-06 11:15:12 +08:00
prompt.ts feat: prompts import and export 2023-03-31 23:33:47 +08:00