const toolInstructions = resolveToolInstructionsOverride(name => context.hasClientTool(name), config.sections?.tool_instructions, toolSearchInstructionLines(context.toolSearchActive));
if (!toolInstructions) {
}
return { ...config, sections: { ...config.sections, tool_instructions: toolInstructions } };
}