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

[Feature Request] AI-chat场景,支持实现“输入光标”效果 #1006

Closed
alexhu opened this issue Dec 18, 2024 · 2 comments
Closed

[Feature Request] AI-chat场景,支持实现“输入光标”效果 #1006

alexhu opened this issue Dec 18, 2024 · 2 comments
Labels
🚀enhancement New feature or request

Comments

@alexhu
Copy link

alexhu commented Dec 18, 2024

如题,希望在AI-chat场景下(flowSessionContext为true),支持输出的内容最后追加自定义html标签,实现“输入光标”效果,类似:
录屏2024-12-18 20 06 33

@alexhu alexhu added pending-no-confirmed The direction of this issue has not yet been determined. 🚀enhancement New feature or request labels Dec 18, 2024
@sunsonliu sunsonliu removed the pending-no-confirmed The direction of this issue has not yet been determined. label Dec 19, 2024
@sunsonliu
Copy link
Collaborator

sunsonliu commented Dec 22, 2024

局部截取_20241222_222920
已增加对应的配置,当配置为flowSessionCursor: 'default'时,会在输出位置的末尾增加一个虚拟光标dom,可以通过调用cherryObj.clearFlowSessionCursor()主动去掉该虚拟光标dom,如果不主动清空该虚拟光标,cherry将在一小段时间后(大约2.5s)清空该虚拟光标

@sunsonliu
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants