This commit is contained in:
c121914yu
2025-04-09 15:45:00 +00:00
parent 8c2f2afd19
commit 0f44cb1229
11 changed files with 274 additions and 333 deletions

View File

@@ -38,7 +38,7 @@ Table of Contents</button><nav id=toc-mobile><ul class=dropdown-menu><li><ul><li
<code>curl --location --request POST &#39;https://{{host}}/api/admin/initv494&#39; \
--header &#39;rootkey: {{rootkey}}&#39; \
--header &#39;Content-Type: application/json&#39;</code>
</pre></div><p><strong>脚本功能</strong></p><ol><li>更新站点同步定时器</li></ol><h2 id=-新增内容>🚀 新增内容 <a href=#-%e6%96%b0%e5%a2%9e%e5%86%85%e5%ae%b9 class=anchor aria-hidden=true><i class="material-icons align-middle">link</i></a></h2><ol><li>集合数据训练状态展示</li><li>SMTP 发送邮件插件</li><li>BullMQ 消息队列。</li><li>利用 redis 进行部分数据缓存。</li><li>站点同步支持配置训练参数。</li><li>AI 对话/工具调用,增加返回模型 finish_reason 字段。</li><li>移动端语音输入交互调整</li></ol><h2 id=-优化>⚙️ 优化 <a href=#-%e4%bc%98%e5%8c%96 class=anchor aria-hidden=true><i class="material-icons align-middle">link</i></a></h2><ol><li>Admin 模板渲染调整。</li><li>支持环境变量配置对话文件过期时间。</li><li>MongoDB log 库可独立部署。</li></ol><h2 id=-修复>🐛 修复 <a href=#-%e4%bf%ae%e5%a4%8d class=anchor aria-hidden=true><i class="material-icons align-middle">link</i></a></h2><ol><li>搜索应用/知识库时,无法点击目录进入下一层。</li><li>重新训练时,参数未成功初始化。</li></ol></div><div class="gitinfo d-flex flex-wrap justify-content-between align-items-center opacity-85 pt-3"><div id=edit-this-page class=mt-1><a href=https://github.com/labring/FastGPT/blob/main/docSite/content/zh-cn/docs/development/upgrading/494.md alt=V4.9.4(进行中) rel="noopener noreferrer" target=_blank><span class="me-1 align-text-bottom"><svg width="20" height="20" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" fill="currentcolor"><path d="M16 .396c-8.839.0-16 7.167-16 16 0 7.073 4.584 13.068 10.937 15.183.803.151 1.093-.344 1.093-.772.0-.38-.009-1.385-.015-2.719-4.453.964-5.391-2.151-5.391-2.151-.729-1.844-1.781-2.339-1.781-2.339-1.448-.989.115-.968.115-.968 1.604.109 2.448 1.645 2.448 1.645 1.427 2.448 3.744 1.74 4.661 1.328.14-1.031.557-1.74 1.011-2.135-3.552-.401-7.287-1.776-7.287-7.907.0-1.751.62-3.177 1.645-4.297-.177-.401-.719-2.031.141-4.235.0.0 1.339-.427 4.4 1.641 1.281-.355 2.641-.532 4-.541 1.36.009 2.719.187 4 .541 3.043-2.068 4.381-1.641 4.381-1.641.859 2.204.317 3.833.161 4.235 1.015 1.12 1.635 2.547 1.635 4.297.0 6.145-3.74 7.5-7.296 7.891.556.479 1.077 1.464 1.077 2.959.0 2.14-.02 3.864-.02 4.385.0.416.28.916 1.104.755 6.4-2.093 10.979-8.093 10.979-15.156.0-8.833-7.161-16-16-16z"/></svg></span>编辑此页面</a></div></div></div><div><hr class=doc-hr><div id=doc-nav class=d-print-none><div class="row flex-xl-nowrap"><div class="col-sm-6 pt-2 doc-next"><a href=/docs/development/migration/docker_db/><div class="card h-100 my-1"><div class="card-body py-2"><p class="card-title fs-5 fw-semibold lh-base mb-0"><i class="material-icons align-middle">navigate_before</i> Docker 数据库迁移(无脑操作)</p><p class="card-text ms-2">FastGPT Docker 数据库备份和迁移</p></div></div></a></div><div class="col-sm-6 pt-2 doc-prev"><a class=ms-auto href=/docs/development/upgrading/493/><div class="card h-100 my-1 text-end"><div class="card-body py-2"><p class="card-title fs-5 fw-semibold lh-base mb-0">V4.9.3 <i class="material-icons align-middle">navigate_next</i></p><p class="card-text me-2">FastGPT V4.9.3 更新说明</p></div></div></a></div></div></div></div></div></div></div></div><footer class="shadow py-3 d-print-none"><div class="row align-items-center" style=height:90px><div class=col><div class="text-sm-start text-center mx-md-2"><p class=mb-0>© 2025 the FastGPT Authors.</p><p class=github-badge><span class=badge-subject>云操作系统</span><span class="badge-value bg-blue"><a style=color:#fff href=https://sealos.io/ target=_blank>Sealos</a></span>
</pre></div><p><strong>脚本功能</strong></p><ol><li>更新站点同步定时器</li></ol><h2 id=-新增内容>🚀 新增内容 <a href=#-%e6%96%b0%e5%a2%9e%e5%86%85%e5%ae%b9 class=anchor aria-hidden=true><i class="material-icons align-middle">link</i></a></h2><ol><li>集合数据训练状态展示</li><li>SMTP 发送邮件插件</li><li>BullMQ 消息队列。</li><li>利用 redis 进行部分数据缓存。</li><li>站点同步支持配置训练参数。</li><li>AI 对话/工具调用,增加返回模型 finish_reason 字段。</li><li>移动端语音输入交互调整</li></ol><h2 id=-优化>⚙️ 优化 <a href=#-%e4%bc%98%e5%8c%96 class=anchor aria-hidden=true><i class="material-icons align-middle">link</i></a></h2><ol><li>Admin 模板渲染调整。</li><li>支持环境变量配置对话文件过期时间。</li><li>MongoDB log 库可独立部署。</li></ol><h2 id=-修复>🐛 修复 <a href=#-%e4%bf%ae%e5%a4%8d class=anchor aria-hidden=true><i class="material-icons align-middle">link</i></a></h2><ol><li>搜索应用/知识库时,无法点击目录进入下一层。</li><li>重新训练时,参数未成功初始化。</li><li>package/service 部分请求在多 app 中不一致。</li></ol></div><div class="gitinfo d-flex flex-wrap justify-content-between align-items-center opacity-85 pt-3"><div id=edit-this-page class=mt-1><a href=https://github.com/labring/FastGPT/blob/main/docSite/content/zh-cn/docs/development/upgrading/494.md alt=V4.9.4(进行中) rel="noopener noreferrer" target=_blank><span class="me-1 align-text-bottom"><svg width="20" height="20" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" fill="currentcolor"><path d="M16 .396c-8.839.0-16 7.167-16 16 0 7.073 4.584 13.068 10.937 15.183.803.151 1.093-.344 1.093-.772.0-.38-.009-1.385-.015-2.719-4.453.964-5.391-2.151-5.391-2.151-.729-1.844-1.781-2.339-1.781-2.339-1.448-.989.115-.968.115-.968 1.604.109 2.448 1.645 2.448 1.645 1.427 2.448 3.744 1.74 4.661 1.328.14-1.031.557-1.74 1.011-2.135-3.552-.401-7.287-1.776-7.287-7.907.0-1.751.62-3.177 1.645-4.297-.177-.401-.719-2.031.141-4.235.0.0 1.339-.427 4.4 1.641 1.281-.355 2.641-.532 4-.541 1.36.009 2.719.187 4 .541 3.043-2.068 4.381-1.641 4.381-1.641.859 2.204.317 3.833.161 4.235 1.015 1.12 1.635 2.547 1.635 4.297.0 6.145-3.74 7.5-7.296 7.891.556.479 1.077 1.464 1.077 2.959.0 2.14-.02 3.864-.02 4.385.0.416.28.916 1.104.755 6.4-2.093 10.979-8.093 10.979-15.156.0-8.833-7.161-16-16-16z"/></svg></span>编辑此页面</a></div></div></div><div><hr class=doc-hr><div id=doc-nav class=d-print-none><div class="row flex-xl-nowrap"><div class="col-sm-6 pt-2 doc-next"><a href=/docs/development/migration/docker_db/><div class="card h-100 my-1"><div class="card-body py-2"><p class="card-title fs-5 fw-semibold lh-base mb-0"><i class="material-icons align-middle">navigate_before</i> Docker 数据库迁移(无脑操作)</p><p class="card-text ms-2">FastGPT Docker 数据库备份和迁移</p></div></div></a></div><div class="col-sm-6 pt-2 doc-prev"><a class=ms-auto href=/docs/development/upgrading/493/><div class="card h-100 my-1 text-end"><div class="card-body py-2"><p class="card-title fs-5 fw-semibold lh-base mb-0">V4.9.3 <i class="material-icons align-middle">navigate_next</i></p><p class="card-text me-2">FastGPT V4.9.3 更新说明</p></div></div></a></div></div></div></div></div></div></div></div><footer class="shadow py-3 d-print-none"><div class="row align-items-center" style=height:90px><div class=col><div class="text-sm-start text-center mx-md-2"><p class=mb-0>© 2025 the FastGPT Authors.</p><p class=github-badge><span class=badge-subject>云操作系统</span><span class="badge-value bg-blue"><a style=color:#fff href=https://sealos.io/ target=_blank>Sealos</a></span>
<span class=badge-subject>云开发</span><span class="badge-value bg-brightgreen"><a style=color:#fff href=https://laf.run target=_blank>Laf</a></span>
<span class=badge-subject>云原生存储</span><span class="badge-value bg-orange"><a style=color:#fff href=https://github.com/labring/sealfs target=_blank>Sealfs</a></span></p><div id=fixed-box><div class=feedback-btn-wrapper><a href=https://fael3z0zfze.feishu.cn/share/base/form/shrcnRxj3utrzjywsom96Px4sud style=text-decoration:none target=_blank><button id=feedback-btn title="Give feedback"><svg class="inline w-5 h-5" viewBox="0 0 20 20" fill="currentcolor"><path fill-rule="evenodd" d="M18 13V5a2 2 0 00-2-2H4A2 2 0 002 5v8a2 2 0 002 2h3l3 3 3-3h3a2 2 0 002-2zM5 7a1 1 0 011-1h8a1 1 0 110 2H6A1 1 0 015 7zm1 3a1 1 0 100 2h3a1 1 0 100-2H6z" clip-rule="evenodd"/></svg>
<span _msttexthash=6039839 _msthash=295>咨询合作</span></button></a></div></div></div></div></div></footer></main></div></div><button onclick=topFunction() id=back-to-top aria-label="Back to Top Button" class="back-to-top fs-5"><svg width="24" height="24"><path d="M12 10.224l-6.3 6.3-1.38-1.372L12 7.472l7.68 7.68-1.38 1.376z" style="fill:#fff"/></svg></button>