Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持预设 Pinned #143

Open
forever-lwy opened this issue Mar 21, 2024 · 2 comments
Open

支持预设 Pinned #143

forever-lwy opened this issue Mar 21, 2024 · 2 comments
Assignees
Labels
feature New feature or request

Comments

@forever-lwy
Copy link

问题:
我是自己部署的当聊天前端用,目前似乎预设是当作普通历史会话处理的,也占用了最大历史会话的条数,当会话过长,最前面的预设会丢失,而且如果最大历史会话条数小于预设条数,预设就直接发不全了。(我只试了自定义预设,内置的不清楚)
期望:
希望能像chatnextweb那样预设是固定在上下文中的并且不计入历史会话条数,这样感觉预设才能贯穿整个会话。另外如果加个选定某条消息将它固定下来的功能就更好了。

@zmh-program
Copy link
Member

是的,预设按照正常消息处理。消息存储于后端数据库,在跨端同步和保证向下兼容性的前提下难以支持。

可以考虑新建对话的预设pinned功能

@forever-lwy
Copy link
Author

谢谢回应,明白了,可以手动固定的话也是个办法,期待新功能。

@zmh-program zmh-program added the feature New feature or request label Mar 21, 2024
@zmh-program zmh-program changed the title 预设没有固定在上下文中。 支持预设 Pinned Mar 21, 2024
@zmh-program zmh-program self-assigned this Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants