Commit Graph

64 Commits

Author SHA1 Message Date
RockYang
a88f55372c Optimize the UI of config dialoy 2023-04-12 09:02:39 +08:00
RockYang
aef3414928 fixed bug for re-generate response 2023-04-12 06:29:31 +08:00
RockYang
1db20959e7 The 'stop generate' and 'regenerate response' function is ready 2023-04-11 18:58:27 +08:00
RockYang
a2cf97b039 logout function is ready 2023-04-10 06:44:27 +08:00
RockYang
117f928b56 优化前端界面,新增注销功能 2023-04-09 23:34:16 +08:00
RockYang
5acd0290fa 优化聊天配置对话框样式 2023-04-08 12:09:40 +08:00
RockYang
02a1912bba The account set dialog is ready 2023-04-08 12:00:16 +08:00
RockYang
208655af5e 优化登录逻辑 2023-04-08 10:57:46 +08:00
RockYang
df9e587300 more chat role is ready, and add API to add new chat role 2023-04-08 09:39:03 +08:00
RockYang
df7d4d5b94 the new skin is ready 2023-04-07 19:26:24 +08:00
RockYang
5a6f070f92 新增 Plus 黑色风格模板 2023-04-07 17:58:11 +08:00
RockYang
b6d8465127 update web app name for package.json 2023-04-07 11:22:51 +08:00
RockYang
dd0130caf8 add api handle for update user's max_calls attribute 2023-04-06 10:06:53 +08:00
RockYang
7e1e408b64 Token expired time fucntion is ready 2023-04-06 09:56:56 +08:00
RockYang
d8cb2c220e 首次登录失败的时候不显示网络连接异常 2023-04-06 08:47:52 +08:00
RockYang
e2e27e76ec fixed log output format 2023-04-05 16:38:45 +08:00
RockYang
d81d9af986 fixed bug for interface convert to int 2023-04-04 11:06:04 +08:00
RockYang
a78fb83f30 优化 websocket 验证和断线重连 2023-04-04 10:32:52 +08:00
RockYang
65ad5fb632 优化系统设置 API 参数解析,优化点卡扣费逻辑,没有回复答案不记扣费次数 2023-04-04 09:05:17 +08:00
RockYang
43e2743b9b optimize the code for reset the chat context 2023-04-03 23:07:11 +08:00
RockYang
b0be9f2e4d add qrcode for wechat group 2023-04-03 16:48:29 +08:00
RockYang
361c157e06 auto remove API KEYS that execeed quota 2023-04-03 14:19:42 +08:00
RockYang
01d8a5b77d print chat context when enbale debug mode 2023-03-31 22:55:27 +08:00
RockYang
4d52f02b80 尽量使用同一个代理访问,如果挂了再使用下一个 2023-03-31 22:35:05 +08:00
RockYang
a4469b23df 增加更新角色信息 API 2023-03-31 18:34:16 +08:00
RockYang
9d377fa131 当 tokens 超出 OpenAI API 限制大小时自动重置上下文 2023-03-31 17:57:49 +08:00
RockYang
f32803deca optimize configuration dialog close action 2023-03-31 08:58:57 +08:00
RockYang
b7120b400a add test env build script 2023-03-30 22:49:32 +08:00
RockYang
7241e2e7ad fixed bug for code hightline 2023-03-30 10:53:00 +08:00
RockYang
d515e88d97 禁用 gin 打印日志 2023-03-29 21:44:44 +08:00
RockYang
bd41f742d2 添加微信和知识星球的推广二维码 2023-03-29 14:27:04 +08:00
RockYang
eb562ea3c9 add config api for setting the ChatContextExpireTime 2023-03-28 18:16:05 +08:00
RockYang
cb2b01127b 定期清理用户聊天会话上下文 ChatContext 2023-03-28 18:13:17 +08:00
RockYang
4e575d01db 优化用户聊天记录显示 2023-03-28 17:19:50 +08:00
RockYang
ebc2041e8a rename Token to User, the chat history function is ready 2023-03-28 16:03:41 +08:00
RockYang
95f9dfa9cb 新增接口开启调试模式 2023-03-28 12:12:41 +08:00
RockYang
1e8aaff193 The function for batch generate tokens is ready 2023-03-28 11:20:03 +08:00
RockYang
d85e91a8da 完成 Token 点卡功能 2023-03-28 10:17:36 +08:00
RockYang
5f702d92dc 支持 TOKEN 设置最大调用次数 2023-03-27 21:45:02 +08:00
RockYang
a6bab7b12d 使用 leveldb 存储用户 token 和聊天记录 2023-03-27 18:27:33 +08:00
RockYang
6a38de7eaa 支持添加多个 ChatGPT API 代理地址 2023-03-26 21:10:40 +08:00
RockYang
fe91b0f784 add API to remove API key, set chat roles 2023-03-26 18:23:29 +08:00
RockYang
9ea4060790 do not show the hello message when reconnected 2023-03-26 17:47:10 +08:00
RockYang
a4ea1e47e2 add chat avatar icon for different roles 2023-03-26 12:54:25 +08:00
RockYang
c813399363 add hello messga for chat roles 2023-03-25 22:48:36 +08:00
RockYang
4a3c93c65a 优化角色对话上下文处理 2023-03-25 22:11:53 +08:00
RockYang
43b7191ffa 添加聊天角色支持 2023-03-24 18:14:40 +08:00
RockYang
967ca441d7 添加聊天角色功能 2023-03-24 16:26:24 +08:00
RockYang
bb019f3552 优化聊天会话管理,支持 websocket 断开重连之后能继续连接会话上下文 2023-03-24 14:24:49 +08:00
RockYang
2067aa3f83 add Makefile, fixed websocket url for https 2023-03-23 18:10:23 +08:00