fix(memory): the new save refusals carry wording in the desktop, and the remember freshness effect test states the mode it exercises

This commit is contained in:
yhh committed 2026-11-06 08:28:08 -08:00
1 parent 813af4958e
commit 817d78b399
3 files changed
+7

No files matched your search

+2
View File
@@ -634,6 +634,8 @@ const SAID: Record<string, string> = {
"hooks.rejected": "kernel.that_hook_was_not_saved",
"hooks.dry_run_failed": "kernel.that_hook_did_not_run",
"memory.forget_failed": "kernel.that_memory_could_not_be",
"memory.save_failed": "kernel.that_memory_could_not_be_saved",
"memory.proactive_save_failed": "kernel.the_memory_setting_could_not_be",
"network.rejected": "kernel.the_network_settings_were_not",
"net.proxy.off": "kernel.not_using_a_proxy_turned",
"net.proxy.direct": "kernel.this_address_is_reached_directly",
@@ -331,6 +331,8 @@ export const KERNEL: Messages = {
"kernel.that_key_was_refused_check": { zh: "该 key 未被接受。请检查是否复制完整,或在服务商控制台重新生成", en: "That key was refused. Check it copied in full, or generate a new one in the provider's console" },
"kernel.that_line_already_reached_the": { zh: "该条已发送给模型,无法撤回", en: "That line already reached the model - it cannot be taken back" },
"kernel.that_line_is_too_long": { zh: "该行过长,无法补全", en: "That line is too long to complete" },
"kernel.that_memory_could_not_be_saved": { zh: "未能保存该条记忆:{detail}", en: "That memory could not be saved: {detail}" },
"kernel.the_memory_setting_could_not_be": { zh: "未能保存记忆设置:{detail}", en: "The memory setting could not be saved: {detail}" },
"kernel.that_memory_could_not_be": { zh: "未能删除该条记忆:{detail}", en: "That memory could not be removed: {detail}" },
"kernel.that_message_is_too_long": { zh: "这条消息太长", en: "That message is too long" },
"kernel.that_message_was_already_decided": { zh: "这条消息已经处理过了", en: "That message was already decided" },
@@ -120,6 +120,9 @@ default_model = "test-model"
[agent]
system_prompt = "BASE"
[memory]
proactive = "auto"
[[providers]]
name = "test-model"
kind = "boot-effect-remember-freshness"