WWW.YOUINFO.SITE
标签聚合 cherrystudio

/tag/cherrystudio

LinuxDo 最新话题 · 2026-06-04 10:48:49+08:00 · tech

接着 【教程】CherryStudio输出效果大升级,直接输出HTML 开发调优 欢迎各位佬友多测试多反馈,我好持续优化,毕竟我一个人遇到的问题有限 5月27晚上更新 增加不同主题的样式匹配,非模版预设,模式预设,自动匹配输出。MCP文件已重新上传,需要重新下载 注意:这里面说的直接输出HTML指的不是输出一个HTML文件,而是可以直接在对话页面显示的页面,就是下面这种效果 [image] 具体方法 首先要说明的是,这里是通过MCP来实现的 下载MCP文件 … 【教程】自适应主题,CherryStudio输出效果再升级 开发调优 接着 【教程】CherryStudio输出效果大升级,直接输出HTML 进一步讨论: 之前的效果上已经基本实现了不同模式的适配,但是主题的结构是相似的,更多的只是修改一些修饰的元素,觉得够用的话,就直接用那个就好了。 这里单开一贴,是我希望再做一些实验性的测试,实现对不同主题的展示效果适配,让不同的主题拥有不同的信息展示方式以及展示效果。 目前有 7 种具体展示风格: 内容类型 自动… 继续 之前的2个教程,实现了从0到1,从能用到好看的过程,但是我发现有点不太稳定,具体的体现如下图,调用渲染工具,很难一次性到位,不是这边的参数有问题,就是那边的传入不合规,虽然最后也能出结果,但是需要耗费更长的时间和更多的token,不理想 然后我就在想能不能增加两个工具,一个内容生成指南,明确合规内容的标准;另一个则是快速检查工具,能迅速返回是否合规的结果。通过两层前置预检查,避免在大量内容渲染时才进行检查。 然后我试了一下之前经常会报错的几类问题,调用链路都正常了 MCP及提示词 MCP dist.zip (131.1 KB) 提示词 请先完成全部搜索、阅读、分析和内容整理,不要在资料未整理完成前调用 html-render-mcp。 内容整理完成后,请按以下流程生成最终 HTML: 1. 先调用 guide_html_render_page。 - targetTool 使用 render_adaptive_theme_html。 - contentTypes 根据内容选择: news / research / explain / compare / tutorial / list / opinion。 2. 根据 guide_html_render_page 返回的 pageSkeleton 和 generationRules,生成完整 page 对象。 3. 调用 validate_html_render_page。 - targetTool 使用 render_adaptive_theme_html。 - page 使用刚生成的完整 page 对象。 4. 如果 readyToRender 为 false: - 根据 errors 修正 page。 - 根据 warnings 优化 page。 - 再次调用 validate_html_render_page。 5. 只有 readyToRender 为 true 后,才最后调用一次 render_adaptive_theme_html。 6. 最终回复只输出 render_adaptive_theme_html 返回的 HTML 片段,不要输出 JSON、解释、Markdown 代码块或额外文本。 生成要求: - contentTypes 必须准确反映内容类型。 - styleProfile 默认使用 auto。 - expression.strategy 默认使用 auto。 - 优先使用 expression / expressions 表达语义。 - blocks 只用于补充布局。 - 不要把 Markdown 表格、代码块或复杂列表直接写进 body。 - 对比内容优先用 decision-matrix。 - 教程内容优先用 process-guide。 - 清单内容优先用 ranked-list。 - 观点内容优先用 argument-map。 - 研究内容优先用 evidence-map。 1 个帖子 - 1 位参与者 阅读完整话题

LinuxDo 最新话题 · 2026-05-29 10:59:06+08:00 · tech

接着 【教程】CherryStudio输出效果大升级,直接输出HTML 进一步讨论: 之前的效果上已经基本实现了不同模式的适配,但是主题的结构是相似的,更多的只是修改一些修饰的元素,觉得够用的话,就直接用那个就好了。 这里单开一贴,是我希望再做一些实验性的测试,实现对不同主题的展示效果适配,让不同的主题拥有不同的信息展示方式以及展示效果。 目前有 7 种具体展示风格: 内容类型 自动匹配风格 展示感觉 news old-newspaper 旧报纸 / 新闻稿 / 复古纸张感 research academic-journal 学术期刊 / 论文式 / 摘要与参考文献 explain clean-magazine 现代杂志 / 清爽解释型内容 compare decision-brief 决策简报 / 对比评估 / 推荐优先 tutorial workshop-guide 教程工作坊 / 步骤引导 / 学习目标 list curated-list 精选清单 / 排名 / 目录式 opinion editorial-column 评论专栏 / 观点论证 / 专栏文章感 整体上是7+1,1是兜底的通用风格 MCP文件是 dist.zip (124.2 KB) 提示词是 请先完成全部搜索、阅读、分析和内容整理,不要在搜索过程中调用 html-render-mcp。 内容整理完成后,请最后只调用一次 html-render-mcp 的 render_adaptive_theme_html 工具生成完整连续 HTML 页面片段。 请根据内容自动选择 page.contentTypes: 新闻、事件、每日要闻:news 研究、分析、报告:research 科普、解释、背景说明:explain 对比、选型、决策:compare 教程、操作指南:tutorial 清单、榜单、推荐:list 评论、观点、社论:opinion 请默认使用: styleProfile: "auto" 请用 blocks 组织内容,不要自己手写 HTML。可用区块包括: hero、summary-card、timeline、stat-grid、comparison-table、quote、risk-box、faq、steps、source-list、callout。 最终回复只输出工具返回的完整 HTML 片段,不要使用 Markdown 代码块包裹,不要一段一段渲染。 以下是一些展示效果: 4 个帖子 - 3 位参与者 阅读完整话题

LinuxDo 最新话题 · 2026-05-29 10:23:07+08:00 · tech

最新版【1.9.7】版本的CherryStudio打开小程序后其他界面全部报错,100%触发 在github issue上看到了相同的问题,暂未修复 github.com/CherryHQ/cherry-studio [Bug]: Minified React error #185; visit https://react.dev/errors/185 已打开 04:21PM - 28 May 26 UTC Mrqqeat needs-repro UI/UX > [\!NOTE] > This issue was translated by Claude. ### Issue Checklist - [x] I … understand that issues are for feedback and problem solving, not for complaining in the comment section, and will provide as much information as possible to help solve the problem. - [x] My issue is not listed in the [FAQ](https://github.com/CherryHQ/cherry-studio/issues/3881). - [x] I've looked at **pinned issues** and searched for existing [Open Issues](https://github.com/CherryHQ/cherry-studio/issues), [Closed Issues](https://github.com/CherryHQ/cherry-studio/issues?q=is%3Aissue%20state%3Aclosed), and [Discussions](https://github.com/CherryHQ/cherry-studio/discussions), no similar issue or discussion was found. - [x] I've filled in short, clear headings so that developers can quickly identify a rough idea of what to expect when flipping through the list of issues. And not "a suggestion", "stuck", etc. - [x] I've confirmed that I am using the latest version of Cherry Studio. ### Platform Windows ### Version v1.9.7 ### Bug Description Clicked the + on the tab bar, selected a mini-program, opened any one, then closed the page, and got an error. <img width="1058" height="613" alt="Image" src="https://github.com/user-attachments/assets/d623c18e-5838-40c1-8e5f-8dceedc9e598" /> <img width="915" height="727" alt="Image" src="https://github.com/user-attachments/assets/c0013e04-302c-432d-893b-317131707d98" /> <img width="1370" height="749" alt="Image" src="https://github.com/user-attachments/assets/681fe823-ffd4-4937-911a-28af2140cdfa" /> ### Steps To Reproduce Click the + on the tab bar, select a mini-program, open any one, then close the page, and it reports an error. ### Expected Behavior Clicking the + on the tab bar, selecting a mini-program, opening any one, then closing the page should not report an error. ### Relevant Log Output \`\`\`shell \`\`\` ### Additional Context _No response_ --- <details> <summary>Original Content</summary> ### Issue Checklist - [x] I understand that issues are for feedback and problem solving, not for complaining in the comment section, and will provide as much information as possible to help solve the problem. - [x] My issue is not listed in the [FAQ](https://github.com/CherryHQ/cherry-studio/issues/3881). - [x] I've looked at **pinned issues** and searched for existing [Open Issues](https://github.com/CherryHQ/cherry-studio/issues), [Closed Issues](https://github.com/CherryHQ/cherry-studio/issues?q=is%3Aissue%20state%3Aclosed), and [Discussions](https://github.com/CherryHQ/cherry-studio/discussions), no similar issue or discussion was found. - [x] I've filled in short, clear headings so that developers can quickly identify a rough idea of what to expect when flipping through the list of issues. And not "a suggestion", "stuck", etc. - [x] I've confirmed that I am using the latest version of Cherry Studio. ### Platform Windows ### Version v1.9.7 ### Bug Description 点击标签栏的+,选择小程序,随便点一个打开,然后关闭页面,就报错了。 ### Steps To Reproduce 点击标签栏的+,选择小程序,随便点一个打开,然后关闭页面,就报错了。 ### Expected Behavior 点击标签栏的+,选择小程序,随便点一个打开,然后关闭页面,就报错了。 ### Relevant Log Output \`\`\`shell \`\`\` ### Additional Context _No response_ </details> 2 个帖子 - 2 位参与者 阅读完整话题

LinuxDo 最新话题 · 2026-05-27 17:48:06+08:00 · tech

欢迎各位佬友多测试多反馈,我好持续优化,毕竟我一个人遇到的问题有限 注意:这里面说的直接输出HTML指的不是输出一个HTML文件,而是可以直接在对话页面显示的页面,就是下面这种效果 具体方法 首先要说明的是,这里是通过MCP来实现的 下载MCP文件 dist.zip (36.6 KB) CherryStudio配置 按照图片配置即可 提示词配置 请先完成全部搜索、阅读、分析和内容整理,不要在搜索或思考过程中调用 html-render-mcp。 等内容完全整理好以后,只调用一次 html-render-mcp 的 render_final_html 工具,把完整页面一次性渲染成连续 HTML 片段。 最终回复正文必须只输出 render_final_html 工具返回的 HTML 原文。 严格要求: 不要使用 Markdown 代码块包裹 HTML。 不要转义 HTML。 不要在 HTML 前后添加解释、标题、总结、备注或工具调用说明。 不要分段渲染,不要多次调用渲染工具。 不要输出 JSON 参数本身,只输出工具返回的 HTML。 如果需要搜索资料,请先搜索完、整理完,再统一渲染 如果觉得提示词麻烦,也可以用快捷短语(快捷短语有时候可能会影响查询参数) 请先完成全部资料整理,最后只调用一次 html-render-mcp 的 render_final_html 生成完整 HTML 页面。最终回复只输出工具返回的 HTML,不要代码块,不要解释文字,不要分段渲染。 在助手中手动启用MCP 题外话 如果你觉得配置太麻烦,也有极简版的 【教程】在cherry studio中以最小代价实现HTML渲染 - 开发调优 / 开发调优, Lv1 - LINUX DO 当然也可以结合smart-search,优化搜索输出的结果 【教程】我把佬友的smart-search做到了Cherry Studio中 - 开发调优 - LINUX DO 8 个帖子 - 3 位参与者 阅读完整话题

LinuxDo 最新话题 · 2026-05-26 17:24:00+08:00 · tech

我使用 docker 和本地(mac 电脑)都起了一遍,在 cherrystudio 使用都会报错 错误名称: AI_ProviderSpecificError 错误信息: Error Details: “Transport request failed: Failed to perform, curl: (35) TLS connect error: error:00000000:invalid library (0):OPENSSL_internal:invalid library (0). See libcurl - Error Codes first for more details.” 堆栈信息: AI_ProviderSpecificError: Error Details: “Transport request failed: Failed to perform, curl: (35) TLS connect error: error:00000000:invalid library (0):OPENSSL_internal:invalid library (0). See libcurl - Error Codes first for more details.” at AiSdkToChunkAdapter.convertAndEmitChunk (file:///Applications/Cherry%20Studio.app/Contents/Resources/app.asar/out/renderer/assets/store-DmY8nbl4.js:349460:64) at AiSdkToChunkAdapter.readFullStream (file:///Applications/Cherry%20Studio.app/Contents/Resources/app.asar/out/renderer/assets/store-DmY8nbl4.js:349251:10) at async AiSdkToChunkAdapter.processStream (file:///Applications/Cherry%20Studio.app/Contents/Resources/app.asar/out/renderer/assets/store-DmY8nbl4.js:349213:31) at async AiProvider.modernCompletions (file:///Applications/Cherry%20Studio.app/Contents/Resources/app.asar/out/renderer/assets/store-DmY8nbl4.js:352325:22) at async AiProvider.completions (file:///Applications/Cherry%20Studio.app/Contents/Resources/app.asar/out/renderer/assets/store-DmY8nbl4.js:352244:17) at async fetchChatCompletion (file:///Applications/Cherry%20Studio.app/Contents/Resources/app.asar/out/renderer/assets/store-DmY8nbl4.js:352594:2) at async transformMessagesAndFetch (file:///Applications/Cherry%20Studio.app/Contents/Resources/app.asar/out/renderer/assets/store-DmY8nbl4.js:352522:3) at async fetchAndProcessAssistantResponseImpl (file:///Applications/Cherry%20Studio.app/Contents/Resources/app.asar/out/renderer/assets/store-DmY8nbl4.js:168185:3) at async file:///Applications/Cherry%20Studio.app/Contents/Resources/app.asar/out/renderer/assets/store-DmY8nbl4.js:168277:6 at async file:///Applications/Cherry%20Studio.app/Contents/Resources/app.asar/out/renderer/assets/store-DmY8nbl4.js:143162:21 错误原因: “Transport request failed: Failed to perform, curl: (35) TLS connect error: error:00000000:invalid library (0):OPENSSL_internal:invalid library (0). See libcurl - Error Codes first for more details.” 我使用的是 clash,新加坡节点和香港节点。在服务内也配置了代理。 球球佬救救孩子吧,提前感谢各位佬了 9 个帖子 - 5 位参与者 阅读完整话题