手機上「改用 ○○ 回答」那一行用模型的星星圖示:手機所有 AnyBot 的提示行都戴目標的 ◎(本來只有目標在用),換模型的那一行看起來像目標的進度。依字首認出來,換成 sparkles。

已驗證: verify-anybot:scratch 問一句、換 fake-model-2、再問一句,手機聊天裡那一行的圖示是 sparkles 的 svg(截圖在證據資料夾);featuremap 過。
未驗證: —

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uirha2uBHmbnuWBhNzjbJm
This commit is contained in:
王性驊 2026-11-21 11:41:28 +08:00
parent 315350d5a4
commit 60e4e81f4f
1 changed files with 2 additions and 1 deletions

View File

@ -2005,7 +2005,8 @@ function renderMsgs() {
if (m.branch && m.role === "user") { h += `<div class="note">${ic("activity", 13)}<span>支線的結果已交給正在做事的主線</span></div>`; return; }
// 目標: AnyBot's own line about the goal (met, paused…), not the bot's words.
if (m.note) {
h += `<div class="note">${ic("target", 13)}<span>${esc(m.text)}</span></div>`;
// (A goal's lines wear the target; 「改用 ○○ 回答」 the model's sparkle.)
h += `<div class="note">${ic(/^改用 .+ 回答(上一個回答是 /.test(m.text) ? "sparkles" : "target", 13)}<span>${esc(m.text)}</span></div>`;
return;
}
if (m.role === "user") {