feat: globalize Magic Notes and improve runtime tools

This commit is contained in:
lofyer
2026-08-10 10:27:14 +08:00
parent 1a8e110866
commit 5ea022ad5c
47 changed files with 2442 additions and 1177 deletions
+2 -1
View File
@@ -1587,7 +1587,8 @@ export class ModelAgentRuntime implements AgentRuntime {
let decision: ApprovalDecision
try {
if (
tool.name === 'knowledge_search' &&
(tool.name === 'knowledge_search' ||
tool.name === 'note_search') &&
Boolean(request.knowledgeCapabilityToken)
) {
decision = 'once'