Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

✨ feat(share): add locale keys for on-demand activatable tools (#20816)

YuTengjingce2804df0217
diff --git a/locales/en-US/agent.json b/locales/en-US/agent.json
index 9bc6d6a32c8..f45704d5529 100644
--- a/locales/en-US/agent.json
+++ b/locales/en-US/agent.json
@@ -424,6 +424,8 @@
"share.settings.tools.loading": "Loading tools…",
"share.settings.tools.needsMemoryPermission": "Also turn on “Allow reading my memory” above, or this tool stays inert for visitors.",
"share.settings.tools.notAvailableToVisitors": "This tool can never be used in a shared run — visitor runs are blocked from your knowledge base and Agent files.",
+ "share.settings.tools.onDemandDesc": "Not enabled on this Agent. Once granted, the model turns it on in a visitor run only when needed.",
+ "share.settings.tools.showOnDemand": "Show on-demand tools",
"share.settings.tools.title": "Tools visitors can use",
"share.settings.updateError": "Could not save the change. Please try again.",
"share.settings.usage.conversations": "Topics",
diff --git a/locales/zh-CN/agent.json b/locales/zh-CN/agent.json
index d8e34e7f4d7..f96bf501220 100644
--- a/locales/zh-CN/agent.json
+++ b/locales/zh-CN/agent.json
@@ -424,6 +424,8 @@
"share.settings.tools.loading": "正在加载工具…",
"share.settings.tools.needsMemoryPermission": "还需要打开上面的「允许读取我的记忆」,否则该工具对访客不起作用。",
"share.settings.tools.notAvailableToVisitors": "该工具无法在分享运行中使用:访客运行被禁止访问你的知识库和助手文件。",
+ "share.settings.tools.onDemandDesc": "助手未启用的工具。开放后,模型会在访客对话需要时再启用。",
+ "share.settings.tools.showOnDemand": "显示按需启用的工具",
"share.settings.tools.title": "访客可用的工具",
"share.settings.updateError": "保存失败,请重试。",
"share.settings.usage.conversations": "话题数",
diff --git a/packages/locales/src/default/agent.ts b/packages/locales/src/default/agent.ts
index ef26f183e2e..0c8a00160c6 100644
--- a/packages/locales/src/default/agent.ts
+++ b/packages/locales/src/default/agent.ts
@@ -536,6 +536,9 @@ export default {
'Also turn on “Allow reading my memory” above, or this tool stays inert for visitors.',
'share.settings.tools.notAvailableToVisitors':
'This tool can never be used in a shared run — visitor runs are blocked from your knowledge base and Agent files.',
+ 'share.settings.tools.onDemandDesc':
+ 'Not enabled on this Agent. Once granted, the model turns it on in a visitor run only when needed.',
+ 'share.settings.tools.showOnDemand': 'Show on-demand tools',
'share.settings.tools.title': 'Tools visitors can use',
'share.settings.updateError': 'Could not save the change. Please try again.',
'share.visitor.access.backHome': 'Back to home',