TauriTavern 2.5.0 更新日志
好久不见,又到了更新的时候呢。本次更新主要是性能优化、bug修复,以及文本补全的加入。虽然没有很多 fancy 的新功能,但是尽力在把当前的体验打磨好,希望给大家带来更好的使用感受。接下来总算有时间玩 GTA VI 咯(
另外,最近苹果的 TestFlight 服务器非常不稳定,导致时不时无法上传新版本。请耐心等待苹果方面解决。若有需求可以先进行自签。
性能优化
- 大幅重写了流式输出的渲染:每一帧只更新有变化的段落,长回复、带正则的前端卡 / MVU 卡和长思考过程不再越生成越卡。
- 实机测试下,一条正则处理后 9 万字的回复,主线程耗时从 76 秒降到 11 秒,过程中内存分配数从 14.8 GB 降到 0.6 GB。
- Token 计数采用 MikTik 的快速估算(误差在 2% 以内),一次提示词组装的计数合并为少量请求,计数性能提升10~30倍。
- 在Android设备上打开一个 41,000 条消息的聊天,计数完成的时间从 10 秒以上降到 3.9 秒;再次打开时直接复用上次的计数。
- 修正了 xAI、Z.AI、SiliconFlow、NanoGPT、OpenCode、AWS Bedrock 等来源的分词器选择,新增 Qwen 3.5、GLM 和 MiniMax 的分词器,并计入各服务商的消息格式开销。
- 内置了 Kimi、Qwen 和 GLM 的分词器,无需再联网下载。
- 优化了大型世界书:1000 个条目的列表渲染从 3.9 秒降到 0.9 秒,滚动、展开和收起条目、输入标题不再卡顿,在很长的条目中打字也超级跟手。
- 优化了预设页面:开关条目、拖动排序和打开条目编辑都更快,条目较多时尤其明显。
- 优化了应用内助手与 Agent RP 的长会话:修复了发送后界面长时间卡住的问题,打开会话和加载更早的消息更快。
- 优化了生成前的提示词组装,长聊天和变量较多的角色卡尤其明显。
- 优化了打开角色卡和保存设置的速度:打开角色卡不再读取它的全部聊天记录,保存设置时只写入有变化的部分。
- 开启
启用角色头像/用户头像原图后,列表仍使用缩略图避免内存占用过高,聊天中的头像依然使用原图。- 在Android设备上测试(186 张卡共 1.5 GB),内存占用从 1.8 GB 降到约 0.24 GB。
- 减少了界面操作引起的整页样式重算,以及缩略图、
user.css等资源请求的开销。 - 安装包体积优化:Android arm64 APK 从 100 MiB+ 降到 ~60 MiB。
文本补全 (Beta)
- 新增文本补全(Text Completion)支持,在 API 连接面板顶部的
API下拉中选择文本补全。- 自建服务器:Text Generation WebUI (oobabooga)、KoboldCpp、llama.cpp、Ollama、TabbyAPI、vLLM、Aphrodite、HuggingFace Inference Endpoint,以及通用 OpenAI 兼容接口(LM Studio、LiteLLM 等)。
- 云服务:Featherless、OpenRouter、InfermaticAI、DreamGen、TogetherAI。
- 新增 AI Horde 支持。没有密钥时以匿名身份排队。
- 高级格式化(Instruct / Context 模板)、采样器、grammar 和 logprobs 的行为与 SillyTavern 一致。
- 支持用服务器自己的分词器计数(TabbyAPI、KoboldCpp、llama.cpp、vLLM、Aphrodite、Text Generation WebUI),支持在应用内下载模型(Ollama、TabbyAPI),API连接配置文件也可以保存文本补全配置。
- 自建服务器的地址在首次连接时需要授权一次。
- 注:Mancer、NovelAI 和 KoboldAI Classic 暂不支持;Agent 模式仍只使用聊天补全。
请求查看器
- 新增请求查看器,取代原来的 LLM API 日志面板,提供对提示词结构的更精准的查看。可以从魔法棒菜单、
TauriTavern 设置 → 开发或/llmlog打开。- 魔法棒菜单默认已添加;自定义过快捷入口的设备需要在 TauriTavern 设置中手动添加。
- 预览请求:预设页面顶部新增
预览请求按钮,不发送就能看到下一次发送的完整请求。- 每一段内容都会标出来源(预设条目、扩展提示词或聊天楼层)、角色 Role 和 Token 数,工具也会标出来自预设、MCP 服务器还是扩展。
- 提供三种视图:
结构:按消息列出每一段内容,点开显示正文。Payload:以树的形式查看原始请求行、请求头、请求体和响应。对比:与上一条请求或上一次预览比较,标出新增、移除和改动的部分。
- 记录为实际发出的请求体,密钥等敏感内容会自动打码,还可以一键复制为 cURL 命令。
- 聊天补全与文本补全的请求会自动记录以供查看,默认保留最近 5 条,可以在查看器中调整。
- 导出日志时,设置文件中的密钥等凭据会被脱敏。
模型与服务商
- 支持 Claude Fable 5.2 / Mythos 5.2、GPT-6.1 Terra、GPT-6.2 Astra / Sol、Gemini 4 Hydrogen / Carbon / Neon、Kimi K3.1 Pro、MiniMax M3 / M3.1 Flash、GLM-5.3 FlashX、GLM-5.4 等新模型。
- 聊天补全新增 Electron Hub、Fireworks AI、Perplexity 和 Mistral AI 来源。暂未支持的来源(AI21、AI/ML API、Azure OpenAI)不再显示在列表中。
- 预设条目新增
工具定义、工具调用、工具响应三种角色和原始请求JSON字段(JSON),可以在预设中直接编排工具回合,例如把变量、状态或记忆作为工具结果放进上下文。详见 预设工具条目。- 注:原版 SillyTavern 不认识这些条目,带有它们的预设在 SillyTavern 中可能无法正常发送。
- OpenRouter 授权改为在系统浏览器中完成,授权后需把页面显示的代码粘贴回应用。
- OpenRouter 与 NanoGPT 的服务商列表改为按所选模型实时获取。
- Gemini 可以同时使用内置工具(如联网搜索)和函数调用,Gemini 4 Hydrogen / Neon 支持 XHigh 思考等级。
- 工具调用续写时,Kimi、GLM 和 MiniMax 现在也会收到上一轮的思考内容。
- 继续生成一条消息时会保留原有的推理内容。
- 支持了 Kimi 预填充,且其推理块会作为思考内容发送,模型不再把思考写进正文。感谢 @MaskedOrder 提供思路!
- 图像描述扩展新增 Mistral AI、xAI、Electron Hub 和 Pollinations;OpenRouter、NanoGPT、Chutes、SiliconFlow 和 Workers AI 现在可以列出嵌入模型。
- 上游基线同步到 SillyTavern 1.19.1。
安全模式与设置
- 新增安全模式,应用无法打开时可以使用安全模式进行恢复。
- 进入方式:在 3 分钟内连续彻底退出并重新打开 TauriTavern 5 次,或在启动失败对话框中点击
进入安全模式。 - 安全模式会停用第三方扩展,并把设置和自定义 CSS 恢复为默认值。角色卡、聊天、世界书、预设与主题文件、用户设定和密钥等数据都不受影响。
- 进入前会自动保存一份设置快照,可以在
用户设置 → 杂项 → 设置快照中恢复。
- 进入方式:在 3 分钟内连续彻底退出并重新打开 TauriTavern 5 次,或在启动失败对话框中点击
用户设置 → 杂项新增设置快照入口。快照的存储位置改为与 SillyTavern 一致,旧快照会自动迁移。用户设置 → 杂项新增网页存储,可以查看并清理扩展和角色卡保存在 localStorage 与 IndexedDB 中的数据;空间接近用完时会在启动时提醒。TauriTavern 设置 → 界面新增生成通知开关,关闭后生成时不再显示系统通知。- 注:Android 和 iOS 对后台应用有严格限制,关闭后离开应用时生成可能被系统暂停或结束。
TauriTavern 版本 → 更新设置新增更新弹窗开关,关闭后启动时不再检查更新,仍可手动检查。- 损坏的预设文件或设置文件不再让应用卡在启动阶段,会跳过并显示错误。
授权与确认
- 自定义端点的授权改为按来源(协议、主机和端口)记录,同一个服务器只询问一次,已有的授权继续有效。
- 以下自定义地址也需要授权一次:TTS 的自定义端点、向量化的自建服务(Ollama、llama.cpp、vLLM、KoboldCpp 等)、图像生成的自建后端、翻译的自定义地址,以及 MCP 服务器。
- Agent 调用尚未授权的 MCP 服务器时不会弹窗,请先在 MCP 管理器中刷新一次工具。
- 同步配对、
允许显示密钥和出站代理改为在系统对话框中确认。 从外部URL导入内容现在可以解析 Chub(角色与世界书)、RisuRealm、Pygmalion、AICharacterCards 和 Botbooru 的链接或 ID。其他网站的直链在首次导入时会询问一次。
移动端与平台
- 适配 iPhone Duo:顶部的抽屉按钮会绘制在系统栏中,抽屉从系统栏所在的一侧滑入。感谢 @alksdesu 的贡献!
- 修复了 iOS 横屏和 iPhone Duo 展开时聊天文字被放大的问题。
- 修复了 iOS 导出的文件名变成一串随机字符的问题。
- 修复了 iOS 每次更新应用后重新扫描所有聊天的问题。
- 移动端编辑消息时会隐藏底部的输入区域,把键盘上方的空间留给聊天。
- 修复了 Android 上开启原图头像、角色卡较多时启动闪退或头像加载失败的问题。
- 修复了 Android 上音频和视频无法拖动进度的问题。
- 修复了 Android 上网络短暂中断约 30 秒就导致流式输出失败的问题,现在连接静默 5 分钟才会判定断开。
- 修复了 Windows 上用超过 10 MB 的文件替换角色卡时报
Failed to fetch的问题。 - 修复了 macOS 上应用在后台时系统对话框不出现的问题。
- 修复了 Android 与 iOS 上偶发的网络连接问题。
- 角色与用户头像的缩略图从 96×144 提高到最大 512×768,列表中的头像更清晰。旧缩略图会自动重新生成。
功能增强与修复
- 修复了编辑消息时,扩展重新渲染该消息会让编辑框消失、并把渲染后的内容存进消息正文的问题。 感谢 @sun19970908 的贡献!
- 修复了前端卡等长回复聊天中,发送或打开聊天后画面停在前几条消息、看不到新回复的问题。
- 修复了经 API 中转站时出现
error sending request for url和回复中途停住的问题:现在每个请求使用新连接并优先 IPv4,与 SillyTavern 一致。 - HTTP/2 连接会定期发送 PING,经代理使用时,长时间思考不再被当作空闲连接切断。感谢 @AkaneIwasa 的贡献!
- 保存角色卡、设置、预设、主题、快速回复和聊天元数据时会保持原有的键顺序,不再按字母重排,与 SillyTavern 写出的文件一致。
- 修复了两张角色卡同名时
最近的聊天打开错误角色的问题。感谢 @07001ec010shnk-svg 的贡献! - 修复了从旧版 SillyTavern 迁移的群组无法加载的问题。感谢 @AndreiFlau 的贡献!
- 新增
/api/worldinfo/list接口,依赖它的扩展可以正常使用。感谢 @makoto1995 的贡献! - 新增
/proxy接口,Fish TTS 等需要 CORS 代理的扩展可以正常使用,每个目标地址首次使用时需要授权。 - 聊天虚拟化被扩展中断时,提示中会显示是哪个元素引起的,方便找到对应的扩展。
- 修复了向量化使用 SiliconFlow、Workers AI 和 Vertex AI 时连接设置不生效的问题。本地嵌入模型改从 ModelScope 下载,支持断点续传。
- 注:升级后已有的向量索引会重建一次。
- MCP 服务器以 429、401 或 403 拒绝工具调用时,会明确显示
服务器拒绝了请求,不再显示为结果未知。 - 导入数据时可以识别文件名为 Big5、Shift_JIS 和 EUC-KR 编码的 ZIP 压缩包。
- 助手设置中可以直接修改所选预设的上下文长度。
- 带有工具调用历史的聊天现在可以在 Agent 模式下运行。
- 修复了 Agent 运行时间线在调整窗口大小或 SubAgent 条目变化后不再跟随底部的问题。
- 修复了上传用户设定头像时图片被拉伸的问题。
- 修复了角色卡的空白备选开场白在保存时被删除的问题。
- 修复了电脑或手机长时间休眠后 Vertex AI 请求全部失败的问题。
- 修复了保留条数较大时,旧的 LLM 请求记录读取失败的问题。
- 编辑器现在可以拖动调整高度(macOS、iOS 和 Linux 上此前无法拖动)。
- 更新了 rustls-webpki(RUSTSEC-2026-0382)、DOMPurify、handlebars、moment、rmcp 3.11 和 zip 9 等依赖。
扩展与主题作者请注意
- 页面不再拥有文件系统访问:
asset://协议(convertFileSrc)、__TAURI__.fs和由页面打开的文件选取面板已移除。读取用户文件请使用 SillyTavern 兼容的路径(/user/files/*、/user/images/*、/characters/*等),扩展自己的数据请使用api.extension.store。 - 在 Windows、Android 和鸿蒙上,CodeMirror 编辑器移入了 Shadow DOM,页面 CSS 无法再匹配编辑器内部的元素。macOS、iOS 和 Linux 不变。
- iPhone Duo 的系统栏模式下,主题对顶栏和抽屉开关的样式不生效;扩展添加的顶层抽屉会以通用图标出现在系统栏中,名称取自抽屉图标的
title。详见 Layout API。 - localStorage 的配额有限(WebKit 5 MiB,Chromium 10 MiB),建议扩展改用
api.extension.store保存数据。 - 主题 CSS 建议:
+、~之后的选择器带上类、ID 或属性,:has()不要写在body这类大容器上,否则局部变化会引起整页样式重算。 /thumbnail新增list=true参数,带上它时忽略原图设置。
开发
- 新增
tests/perf性能基线:记录各场景的样式重算、布局、内存分配和后端指令数,pnpm run check与 CI 会在 Linux 上与基线比较。 - 新增每周依赖公告审计、Rust 格式检查和 CSS 选择器检查。
- 工作区声明最低 Rust 版本为 1.95,iOS 改用 Xcode 27.2 构建,Rspack 升级到 2.3.1。
- Web Host 现在可以保存世界书的编辑。
Release Notes
Happy Thanksgiving! It's been a while, and it's update time again. This release is mostly performance work and bug fixes, plus the arrival of Text Completion. There aren't many fancy new features this time, but a lot of effort went into polishing what's already here, and I hope it makes for a better experience. Now I finally have time to play GTA VI :D
One more thing: Apple's TestFlight servers have been very unstable lately, so new builds sometimes fail to upload. Please be patient while Apple sorts it out. If you need the new version sooner, you can sign it yourself in the meantime.
Performance
- Largely rewrote streaming rendering: each frame now updates only the blocks that changed, so long replies, frontend cards and MVU cards that use regex, and long reasoning no longer slow down as they grow.
- In on-device testing, a reply of 90K characters after regex processing went from 76 s to 11 s of main-thread time, and the memory allocated along the way went from 14.8 GB to 0.6 GB.
- Token counts now use the fast estimates of MikTik (within 2% of exact counts), and a prompt assembly is counted in a few requests. Counting is 10 to 30 times faster.
- On an Android device, counting a 41,000-message chat after opening it went from over 10 s to 3.9 s. Opening the chat again reuses the previous counts.
- Corrected the tokenizer used for sources such as xAI, Z.AI, SiliconFlow, NanoGPT, OpenCode, and AWS Bedrock, added tokenizers for Qwen 3.5, GLM, and MiniMax, and included each provider's message framing in the counts.
- The Kimi, Qwen, and GLM tokenizers are now bundled and no longer need to be downloaded.
- Improved large lorebooks: rendering a list of 1,000 entries went from 3.9 s to 0.9 s. Scrolling, opening and closing entries, and typing in titles no longer stutter, and typing in very long entries is much more responsive.
- Improved the preset page: toggling entries, dragging to reorder, and opening an entry for editing are faster, especially with many entries.
- Improved long sessions in the in-app assistant and Agent RP: fixed the interface freezing for a long time after sending, and made opening a session and loading earlier messages faster.
- Improved prompt assembly before generation, especially for long chats and character cards with many variables.
- Opening a character card and saving settings are faster: opening a card no longer reads all of its chats, and saving settings writes only the parts that changed.
- With
Enable Character/User Avatar Original Imagesturned on, lists still use thumbnails to keep memory use down, and avatars in the chat still use the original images.- In a test on an Android device (186 cards, 1.5 GB in total), memory use fell from 1.8 GB to about 0.24 GB.
- Reduced page-wide style recalculation caused by interface actions, and the cost of requests for thumbnails,
user.css, and similar resources. - Reduced package size: the Android arm64 APK went from over 100 MiB to about 60 MiB.
Text Completion (Beta)
- Added Text Completion support. Select
Text Completionin theAPIdropdown at the top of the API Connections panel.- Self-hosted servers: Text Generation WebUI (oobabooga), KoboldCpp, llama.cpp, Ollama, TabbyAPI, vLLM, Aphrodite, HuggingFace Inference Endpoint, and generic OpenAI-compatible APIs (LM Studio, LiteLLM, etc.).
- Cloud services: Featherless, OpenRouter, InfermaticAI, DreamGen, and TogetherAI.
- Added AI Horde support. Without a key, requests are queued anonymously.
- Advanced Formatting (Instruct / Context templates), samplers, grammar, and logprobs behave as they do in SillyTavern.
- Tokens can be counted with the server's own tokenizer (TabbyAPI, KoboldCpp, llama.cpp, vLLM, Aphrodite, Text Generation WebUI), models can be downloaded from inside the app (Ollama, TabbyAPI), and Connection Profiles can also store Text Completion configurations.
- The address of a self-hosted server must be approved once when you first connect.
- Note: Mancer, NovelAI, and KoboldAI Classic are not supported yet. Agent mode still uses Chat Completion only.
Request Inspector
- Added the Request Inspector, which replaces the previous LLM API Logs panel and gives a more precise view of prompt structure. Open it from the wand menu,
TauriTavern Settings → Development, or/llmlog.- It is added to the wand menu by default. On devices where the shortcuts were customized, add it manually in TauriTavern Settings.
- Preview request: a new
Preview requestbutton at the top of the preset page shows the complete request the next send would produce, without sending it.- Each part is labeled with its source (preset entry, extension prompt, or chat message), role, and token count. Tools are labeled as coming from the preset, an MCP server, or an extension.
- Three views are available:
Structure: lists each part by message. Open a row to see its text.Payload: shows the raw request line, headers, body, and response as a tree.Compare: compares with the previous request or the earlier preview, and marks what was added, removed, or changed.
- The request body is recorded as it was actually sent. Sensitive values such as API keys are masked automatically, and a request can be copied as a cURL command with one click.
- Chat Completion and Text Completion requests are recorded automatically for later review. The last 5 are kept by default, and you can change this in the inspector.
- When exporting logs, credentials such as API keys in the settings files are redacted.
Models and Providers
- Added support for new models, including Claude Fable 5.2 / Mythos 5.2, GPT-6.1 Terra, GPT-6.2 Astra / Sol, Gemini 4 Hydrogen / Carbon / Neon, Kimi K3.1 Pro, MiniMax M3 / M3.1 Flash, GLM-5.3 FlashX, and GLM-5.4.
- Added Electron Hub, Fireworks AI, Perplexity, and Mistral AI as Chat Completion sources. Sources that are not supported yet (AI21, AI/ML API, Azure OpenAI) are no longer listed.
- Preset entries have three new roles,
Tool definition,Tool call, andTool response, plusFields (JSON)for raw request JSON. A preset can now lay out tool turns directly, for example by placing variables, state, or memory in the context as a tool result. See Preset tool entries.- Note: upstream SillyTavern does not recognize these entries, so presets that contain them may fail to send there.
- OpenRouter authorization now happens in the system browser. After authorizing, you need to paste the code shown on the page back into the app.
- The provider lists for OpenRouter and NanoGPT are now fetched for the selected model.
- Gemini can use built-in tools (such as web search) together with function calling, and Gemini 4 Hydrogen / Neon support the XHigh thinking level.
- When a tool call continues, Kimi, GLM, and MiniMax now also receive the reasoning from the previous turn.
- Continuing a message keeps its existing reasoning.
- Added support for Kimi prefill. Its reasoning block is sent as reasoning, so the model no longer writes its thinking into the reply. Thanks to @MaskedOrder for the idea.
- The Image Captioning extension can now use Mistral AI, xAI, Electron Hub, and Pollinations. Embedding models can now be listed for OpenRouter, NanoGPT, Chutes, SiliconFlow, and Workers AI.
- Updated the upstream baseline to SillyTavern 1.19.1.
Safe Mode and Settings
- Added safe mode, which can be used to recover when the app cannot be opened.
- To enter it, fully quit and reopen TauriTavern 5 times within 3 minutes, or click
Enter safe modein the startup failure dialog. - Safe mode disables third-party extensions and restores settings and custom CSS to their defaults. Data such as character cards, chats, lorebooks, preset and theme files, personas, and API keys is not affected.
- A settings snapshot is saved automatically before entering. You can restore it from
User Settings → Miscellaneous → Settings Snapshots.
- To enter it, fully quit and reopen TauriTavern 5 times within 3 minutes, or click
- Added a
Settings Snapshotsentry underUser Settings → Miscellaneous. Snapshots are now stored in the same location as in SillyTavern, and existing snapshots are migrated automatically. - Added
Web StorageunderUser Settings → Miscellaneous, where you can review and clear the data that extensions and character cards keep in localStorage and IndexedDB. A reminder appears at startup when the space is nearly used up. - Added a
Generation notificationsswitch underTauriTavern Settings → Interface. When it is off, no system notification is shown during generation.- Note: Android and iOS strictly limit apps in the background. With the switch off, a generation may be paused or ended by the system when you leave the app.
- Added an
Update Popupswitch underTauriTavern Version → Update Settings. When it is off, the app no longer checks for updates at startup. Manual checks still work. - A corrupted preset or settings file no longer leaves the app stuck at startup. The file is skipped and an error is shown.
Approvals and Confirmations
- Approval of custom endpoints is now recorded per origin (scheme, host, and port). The same server is asked about only once, and existing approvals remain valid.
- The following custom addresses also need to be approved once: custom TTS endpoints, self-hosted vectorization services (Ollama, llama.cpp, vLLM, KoboldCpp, etc.), self-hosted image generation backends, custom translation addresses, and MCP servers.
- When the Agent calls an MCP server that has not been approved, no dialog appears. Refresh the tools once in the MCP Manager first.
- Sync pairing,
Allow Keys Exposure, andRequest Proxyare now confirmed in a system dialog. Import content from external URLcan now resolve links or IDs from Chub (characters and lorebooks), RisuRealm, Pygmalion, AICharacterCards, and Botbooru. Direct links to other sites ask for confirmation the first time.
Mobile and Platforms
- Added iPhone Duo support. The top drawer buttons are drawn in the system bar, and drawers slide in from the side the bar is on. Thanks to @alksdesu for the contribution.
- Fixed chat text being enlarged on iOS in landscape and on an unfolded iPhone Duo.
- Fixed exported files on iOS being named with a random string.
- Fixed iOS rescanning every chat after each app update.
- On mobile, editing a message now hides the bottom input area and gives the space above the keyboard to the chat.
- Fixed crashes at startup and avatars failing to load on Android with original avatar images enabled and many character cards.
- Fixed audio and video not being seekable on Android.
- Fixed streaming failing on Android after the network was interrupted for about 30 seconds. A connection is now considered dead only after 5 minutes of silence.
- Fixed
Failed to fetchon Windows when replacing a character card with a file larger than 10 MB. - Fixed system dialogs not appearing on macOS while the app is in the background.
- Fixed occasional network connection problems on Android and iOS.
- Character and persona avatar thumbnails went from 96×144 to at most 512×768, so avatars in lists are sharper. Old thumbnails are regenerated automatically.
Improvements and Fixes
- Fixed an issue where an extension re-rendering a message while it was being edited made the editor disappear and saved the rendered content as the message text. Thanks to @sun19970908 for the contribution.
- Fixed an issue in chats with long replies, such as frontend cards, where the view stopped a few messages back after sending or opening the chat and the new reply was not visible.
- Fixed
error sending request for urland replies stopping midway when using API relays. Each request now uses a new connection and prefers IPv4, as SillyTavern does. - HTTP/2 connections now send periodic PINGs, so a long period of thinking is no longer cut off as an idle connection when using a proxy. Thanks to @AkaneIwasa for the contribution.
- Saving character cards, settings, presets, themes, Quick Replies, and chat metadata now keeps the existing key order instead of sorting keys alphabetically, matching the files SillyTavern writes.
- Fixed
Recent Chatsopening the wrong character when two character cards share a name. Thanks to @07001ec010shnk-svg for the contribution. - Fixed groups migrated from older versions of SillyTavern failing to load. Thanks to @AndreiFlau for the contribution.
- Added the
/api/worldinfo/listendpoint, so extensions that depend on it work. Thanks to @makoto1995 for the contribution. - Added the
/proxyendpoint, so extensions that need a CORS proxy, such as Fish TTS, work. Each target address must be approved the first time it is used. - When an extension interrupts chat virtualization, the message now shows which element caused it, which helps you find the extension.
- Fixed connection settings being ignored when vectorizing with SiliconFlow, Workers AI, and Vertex AI. The local embedding model is now downloaded from ModelScope, and interrupted downloads resume.
- Note: existing vector indexes are rebuilt once after upgrading.
- When an MCP server refuses a tool call with 429, 401, or 403, the app now says that the server refused the request instead of reporting an unknown result.
- Data import now recognizes ZIP archives whose file names are encoded in Big5, Shift_JIS, or EUC-KR.
- The context size of the selected preset can now be changed directly in the assistant settings.
- Chats that contain tool call history can now run in Agent mode.
- Fixed the Agent run timeline no longer following the bottom after the window was resized or SubAgent rows changed.
- Fixed persona avatars being stretched on upload.
- Fixed blank alternate greetings being removed when a character card was saved.
- Fixed all Vertex AI requests failing after the computer or phone had been asleep for a long time.
- Fixed older LLM request records failing to load when a large number of records was kept.
- Editors can now be resized by dragging (this was not possible on macOS, iOS, and Linux before).
- Updated dependencies, including rustls-webpki (RUSTSEC-2026-0382), DOMPurify, handlebars, moment, rmcp 3.11, and zip 9.
Notes for Extension and Theme Authors
- The page no longer has file system access. The
asset://protocol (convertFileSrc),__TAURI__.fs, and file pickers opened by the page have been removed. To read user files, use the SillyTavern-compatible paths (/user/files/*,/user/images/*,/characters/*, etc.). For an extension's own data, useapi.extension.store. - On Windows, Android, and HarmonyOS, the CodeMirror editor now lives in a Shadow DOM, so page CSS can no longer match elements inside the editor. macOS, iOS, and Linux are unchanged.
- In the iPhone Duo system bar mode, theme styles for the top bar and drawer toggles do not apply. Top-level drawers added by extensions appear in the system bar with a generic icon, named after the
titleof the drawer icon. See the Layout API. - localStorage has a limited quota (5 MiB on WebKit, 10 MiB on Chromium). We recommend that extensions store their data with
api.extension.store. - For theme CSS, we recommend giving the selector after
+or~a class, ID, or attribute, and keeping:has()off large containers such asbody. Otherwise a local change causes the whole page to be restyled. /thumbnailaccepts a newlist=trueparameter, which ignores the original image setting.
Development
- Added the
tests/perfperformance baseline. It records style recalculation, layout, memory allocation, and backend instruction counts for each scenario, andpnpm run checkand CI compare against it on Linux. - Added a weekly dependency advisory audit, a Rust formatting check, and a CSS selector check.
- The workspace declares a minimum Rust version of 1.95, iOS builds use Xcode 27.2, and Rspack was updated to 2.3.1.
- Web Host can now save World Info edits.
What's Changed
- feat(ios): 适配iPhone duo by @alksdesu in #395
- chore(deps): bump tokio from 1.53.2 to 1.53.3 in /src-tauri by @dependabot[bot] in #397
- chore(deps): bump mdns-sd from 0.21.5 to 0.21.6 in /src-tauri by @dependabot[bot] in #396
- chore(deps): bump rmcp from 3.5.1 to 3.6.0 in /src-tauri by @dependabot[bot] in #398
- fix(storage): load legacy groups with numeric ids by @AndreiFlau in #413
- chore(deps): bump webpki-roots from 1.0.10 to 1.0.11 in /src-tauri by @dependabot[bot] in #410
- chore(deps): bump encoding_rs from 0.8.35 to 0.8.42 in /src-tauri by @dependabot[bot] in #408
- chore(deps): bump rustls from 0.23.45 to 0.23.46 in /src-tauri by @dependabot[bot] in #409
- fix(chat): 编辑器不在场时拒绝写入消息,重渲染前检查编辑器 by @sun19970908 in #373
- fix(worldinfo): add metadata-bearing world book inventory API by @makoto1995 in #422
- ci: sync default-branch GitHub config from dev by @Darkatse in #425
- chore(deps): bump jsonwebtoken from 11.0.0 to 11.1.0 in /src-tauri by @dependabot[bot] in #440
- chore(deps): bump crc32fast from 1.5.2 to 1.5.5 in /src-tauri by @dependabot[bot] in #439
- chore(deps): bump mdns-sd from 0.21.6 to 0.21.7 in /src-tauri by @dependabot[bot] in #438
- fix: [Bug] 同名角色卡时「最近的聊天」指向错误的卡 by @07001ec010shnk-svg in #448
- feat(api): add configurable HTTP/2 keepalive by @AkaneIwasa in #455
- chore(deps): bump webpki-roots from 1.0.11 to 1.0.12 in /src-tauri by @dependabot[bot] in #452
- chore(deps): bump typed-path from 0.12.3 to 0.12.4 in /src-tauri by @dependabot[bot] in #453
- chore(deps): bump async-compression from 0.4.50 to 0.4.52 in /src-tauri by @dependabot[bot] in #454
- bump version to v2.5.0 by @Darkatse in #462
New Contributors
- @alksdesu made their first contribution in #395
- @AndreiFlau made their first contribution in #413
- @makoto1995 made their first contribution in #422
- @07001ec010shnk-svg made their first contribution in #448
- @AkaneIwasa made their first contribution in #455
Full Changelog: v2.4.0...v2.5.0