v0.4.2 Conversation cost and bug fixing
🎆现在支持展示会话消耗的token啦,也可以自定义用户头像了,还能够更好更贴切的自动生成会话的题目了。与此同时还进行了许多细节上的优化和bug修复
修复
- 调整 polyfill 文件的导入位置以解决其不生效的问题。
- 修复 session 回调频繁查询数据库的 bug
新增
- 支持自定义用户头像
- 支持显示当前会话消耗的token
- 新增支持切换 Enter 和 Command+Enter (Mac)/Ctrl+Enter (Windows) 输入信息的方式
- 新增支持点击会话标题修改当前会话配置
调整
- 调整生成会话标题的prompt
- 简化会话聊天内容“复制”和“删除”的 UI 和逻辑
🎆Now you can display the tokens consumed by the session and also customize user avatars. This allows for better and more accurate generation of session topics. In addition, many details have been optimized and bugs fixed.
Fixed
- Adjust the import position of the polyfill file to solve the problem of its ineffectiveness.
- Fix the bug of frequent database queries in session callback
Add
- Support custom avatars
- Add a feature to count conversation fees and allow users to view the current amount of USD or tokens consumed during the conversation.
- Added the ability to switch between using Enter and Command+Enter (Mac)/Ctrl+Enter (Windows) for inputting information.
- Click on the session title to modify the current session configuration
Changed
- Adjust and optimize the prompt for generating conversation titles. It can now better generate titles related to the conversation.
- Optimize the copy and delete UI of the conversation list to simplify the operation steps.