We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如题,希望在AI-chat场景下(flowSessionContext为true),支持输出的内容最后追加自定义html标签,实现“输入光标”效果,类似:
The text was updated successfully, but these errors were encountered:
feat: #1006 流式会话场景中,增加flowSessionCursor配置项,实现虚拟光标的效果
flowSessionCursor
5e025bf
已增加对应的配置,当配置为flowSessionCursor: 'default'时,会在输出位置的末尾增加一个虚拟光标dom,可以通过调用cherryObj.clearFlowSessionCursor()主动去掉该虚拟光标dom,如果不主动清空该虚拟光标,cherry将在一小段时间后(大约2.5s)清空该虚拟光标
flowSessionCursor: 'default'
cherryObj.clearFlowSessionCursor()
Sorry, something went wrong.
https://tencent.github.io/cherry-markdown/examples/ai_chat.html 可以在这里体验哈,对应demo的源码在这里:https://github.com/Tencent/cherry-markdown/blob/main/examples/ai_chat.html
No branches or pull requests
如题,希望在AI-chat场景下(flowSessionContext为true),支持输出的内容最后追加自定义html标签,实现“输入光标”效果,类似:
The text was updated successfully, but these errors were encountered: