feat: support AI quick command feat #600
Draft
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 的类型:
相关问题
变更内容
message
、prompt
组件支持自定义dom节点渲染,以便支持消息开头渲染上下文文件列表等自定义的节点:message
、prompt
组件props
上新增的extraRender
是预留的卡槽,用来渲染插入的自定义结构content
支持传入自定义message
、prompt
组件:props
上新增replacePrompt
和replaceMessage
,支持用户自定义替换。由于存在单独直接使用包装好的content
组件的情况,但是这种情况也要支持插入自定义结构到message
、prompt
组件内部的话,当前的结构是不满足,需要将内部的message
、prompt
组件替换为插入过自定义结构的message
、prompt
组件详细描述
对应 Previewer