refactor(codex): drop unused memory tool wrapper · openclaw/openclaw@b4651f3
vincentkoc
·
2026-06-20
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -854,11 +854,6 @@ function renderCodexMemoryToolSearchBridge(toolNames: readonly string[]): string
|
854 | 854 | return `Codex may expose ${memoryToolNames.join(" and ")} as deferred tools. When the memory guidance above calls for memory recall, use an already-loaded memory tool directly. If the needed memory tool is deferred and not currently callable, use \`tool_search\` to load it, then call that memory tool.`; |
855 | 855 | } |
856 | 856 | |
857 | | -/** Returns whether the current dynamic tool list can serve workspace memory. */ |
858 | | -export function hasCodexWorkspaceMemoryTools(tools: readonly CodexDynamicToolSpec[]): boolean { |
859 | | -return getCodexWorkspaceMemoryToolNames(tools).length > 0; |
860 | | -} |
861 | | - |
862 | 857 | /** Lists available memory tool names understood by Codex workspace memory routing. */ |
863 | 858 | export function getCodexWorkspaceMemoryToolNames(tools: readonly CodexDynamicToolSpec[]): string[] { |
864 | 859 | const availableToolNames = new Set( |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。