Skip to content

Commit b4651f3

Browse files
committed
refactor(codex): drop unused memory tool wrapper
1 parent 107c49e commit b4651f3

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

extensions/codex/src/app-server/attempt-context.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -854,11 +854,6 @@ function renderCodexMemoryToolSearchBridge(toolNames: readonly string[]): string
854854
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.`;
855855
}
856856

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-
862857
/** Lists available memory tool names understood by Codex workspace memory routing. */
863858
export function getCodexWorkspaceMemoryToolNames(tools: readonly CodexDynamicToolSpec[]): string[] {
864859
const availableToolNames = new Set(

0 commit comments

Comments
 (0)