diff --git a/changelogs/v3.5.25.md b/changelogs/v3.5.25.md new file mode 100644 index 000000000..5576efaa7 --- /dev/null +++ b/changelogs/v3.5.25.md @@ -0,0 +1,13 @@ +# What's Changed + +1. 修复: 修复插件可能存在的无法正常禁用的问题 ([#2352](https://github.com/Soulter/AstrBot/issues/2352)) +2. ❗修复:当返回文本为空并且存在函数调用时错误地被终止事件,导致函数调用结果未被正常返回 ([#2491](https://github.com/Soulter/AstrBot/issues/2491)) +3. 修复:修复无法清空 AstrBot 配置下的 http_proxy 代理的问题 ([#2434](https://github.com/Soulter/AstrBot/issues/2434)) +4. ❗修复:Gemini 下开启流式输出时,持久化的消息结果不完整 ([#2424](https://github.com/Soulter/AstrBot/issues/2424)) +5. 修复:注册文件时由于 file:/// 前缀,导致文件被误判为不存在的问题 ([#2325](https://github.com/Soulter/AstrBot/issues/2325)) +6. 优化: 为部分类型供应商添加默认的温度选项 ([#2321](https://github.com/Soulter/AstrBot/issues/2321)) +7. 优化: 适配 Qwen3 模型非流式输出下需要传入 enable_think 参数(否则报错) ([#2424](https://github.com/Soulter/AstrBot/issues/2424)) +8. 优化:支持配置工具调用轮数上限,默认 30 +9. 新增: 添加 WebUI 语义化预发布版本提醒和检测功能 + +> 新版本预告: v4.0.0 即将发布。 diff --git a/dashboard/src/i18n/locales/en-US/core/header.json b/dashboard/src/i18n/locales/en-US/core/header.json index 8cb203924..c7e354086 100644 --- a/dashboard/src/i18n/locales/en-US/core/header.json +++ b/dashboard/src/i18n/locales/en-US/core/header.json @@ -25,6 +25,12 @@ "dev": "🧐 Development (master branch)" }, "updateToLatest": "Update to Latest Version", + "preRelease": "Pre-release", + "preReleaseWarning": { + "title": "Pre-release Version Notice", + "description": "Versions marked as pre-release may contain unknown issues or bugs and are not recommended for production use. If you encounter any problems, please visit ", + "issueLink": "GitHub Issues" + }, "tip": "💡 TIP: Switching to an older version or a specific version will not re-download the dashboard files, which may cause some data display errors. You can find the corresponding dashboard files dist.zip at", "tipLink": "here", "tipContinue": ", extract and replace the data/dist folder. Of course, the frontend source code is in the dashboard directory, you can also build it yourself using npm install and npm build.", diff --git a/dashboard/src/i18n/locales/zh-CN/core/header.json b/dashboard/src/i18n/locales/zh-CN/core/header.json index a1d23a2ae..11331a419 100644 --- a/dashboard/src/i18n/locales/zh-CN/core/header.json +++ b/dashboard/src/i18n/locales/zh-CN/core/header.json @@ -25,6 +25,12 @@ "dev": "🧐 开发版(master 分支)" }, "updateToLatest": "更新到最新版本", + "preRelease": "预发布", + "preReleaseWarning": { + "title": "预发布版本提醒", + "description": "标有预发布标签的版本可能存在未知问题或 Bug,不建议在生产环境使用。如发现问题,请提交至 ", + "issueLink": "GitHub Issues" + }, "tip": "💡 TIP: 跳到旧版本或者切换到某个版本不会重新下载管理面板文件,这可能会造成部分数据显示错误。您可在", "tipLink": "此处", "tipContinue": "找到对应的面板文件 dist.zip,解压后替换 data/dist 文件夹即可。当然,前端源代码在 dashboard 目录下,你也可以自己使用 npm install 和 npm build 构建。", diff --git a/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue b/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue index f33cafbb5..b7dc0c582 100644 --- a/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue +++ b/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue @@ -77,6 +77,13 @@ const open = (link: string) => { window.open(link, '_blank'); }; +// 检测是否为预发布版本 +const isPreRelease = (version: string) => { + const preReleaseKeywords = ['alpha', 'beta', 'rc', 'pre', 'preview', 'dev']; + const lowerVersion = version.toLowerCase(); + return preReleaseKeywords.some(keyword => lowerVersion.includes(keyword)); +}; + // 账户修改 function accountEdit() { accountEditStatus.value.loading = true; @@ -306,7 +313,7 @@ commonStore.getStartTime(); - +