Skip to content

markdown 自定义组件 解析问题 #1896

@Amerss

Description

@Amerss

重现步骤

示例文本
const text = <think>The user is asking what I can do. I should give a concise overview of my capabilities based on the system prompt and available skills.\n\nKey capabilities:\n1. General AI assistant tasks (writing, coding, analysis, etc.)\n2. Weather queries\n3. File/workspace operations (read, write, edit, search files)\n4. Run commands in the sandbox\n5. Various skills: copywriter, work-report, taobao-reviewer, xianyu-seller, x-search, skill-manager, skill-creator\n\nI'll summarize this briefly in Chinese.\n</think>我是xx,一个 AI 助手,主要能帮你:\n\n- **文案写作**:营销文案、社交媒体内容、邮件信函、品牌故事等\n- **工作汇报**:日报/周报/月报、项目进度、工作总结、述职报告\n- **电商运营**:淘宝买家秀评价、闲鱼二手商品描述与定价建议\n- **社交媒体搜索**:搜索 X (Twitter) 上的帖子\n- **文件处理**:读取、编辑、搜索工作区中的文件\n- **天气查询**:查询各地实时天气\n- **脚本执行**:运行 Python/Node.js 脚本,处理数据或自动化任务\n\n简单来说,写东西、查资料、处理文件、跑脚本,都可以找我。有什么具体需求直接说就行!
渲染think会出错,真正包含在think组件内的内容在Key capabilities前就截止了。

Image

当前行为

No response

预期行为

No response

上下文

No response

版本

2.7

您在哪些浏览器上遇到了这个问题?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions