-
Notifications
You must be signed in to change notification settings - Fork 40
feat: support AI quick command feat #600
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
Open
Cythia828
wants to merge
4
commits into
DTStack:master
Choose a base branch
from
Cythia828:chat_support_command
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
CI 挂了。 |
哎呀,我补了咋拉依赖还挂了😭 |
dd10b6a to
af9e5e6
Compare
af9e5e6 to
8e573cd
Compare
|
设计层面需要考虑,我下周才有时间跟任务owner讨论,先draft |
|
1、关于 |
f96e477 to
074b483
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


变更类型
请选择以下选项以描述 PR 的类型:
相关问题
变更内容
CodeBlock组件接口修改M,继承自MessageEntity,默认MessageEntitymessage字段,用于接受泛型类型的消息实体toolbars字段修改,原来只接受无参函数,现在接收code字符串和可选的message参数,从而能根据上下文内容动态渲染工具栏。CodeBlock组件修改目的toolbars需要拿到当前CodeBlock所在的那条message的信息去做一些校验或操作Content组件接口修改M和P:M继承自IMessageProps,默认IMessageProps;P继承自IPromptProps,默认IPromptPropsreplacePrompt字段,是用来替换渲染Prompt的函数组件replaceMessage字段,是用来替换渲染Message的函数组件Prompt的逻辑改成有replacePrompt就渲染replacePrompt,没有才渲染默认组件Prompt;原本渲染Message的逻辑改成有replaceMessage就渲染replaceMessage,没有才渲染默认组件Message。Content组件修改目的Prompt或Message的逻辑Markdown组件isHtmlContent字段,是用来区分是否要支持html内容显示message字段,是传给CodeBlock组件使用的rehype-raw,支持在Markdown → HTML 的转换过程中安全地解析并渲染「原始 HTML」标签Markdown组件修改目的CodeBlock组件的message字段的数据来源Message组件T,继承自MessageEntity,默认MessageEntityextraRender字段onRegenerate方法参数改为使用泛型TonStop方法参数改为使用泛型TMarkdown前面增加一个卡槽,渲染extraRender,用来支持新增的自定义结构Message组件修改目的Prompt组件T,继承自PromptEntity,默认PromptEntityextraRender字段Markdown后面增加一个卡槽,渲染extraRender,用来支持新增的自定义结构Prompt组件修改目的其他
详细描述
对应 Previewer