Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
import { describeExecTool, describeProcessTool } from "./bash-tools.descriptions.js";
import type { AnyAgentTool } from "./pi-tools.types.js";
export function applyDeferredFollowupToolDescriptions(
tools: AnyAgentTool[],
params?: { agentId?: string },
): AnyAgentTool[] {
const hasCronTool = tools.some((tool) => tool.name === "cron");
return tools.map((tool) => {
if (tool.name === "exec") {
return {
...tool,
description: describeExecTool({ agentId: params?.agentId, hasCronTool }),
};
}
if (tool.name === "process") {
return {
...tool,
description: describeProcessTool({ hasCronTool }),
};
}
return tool;
});
}
¤ Dauer der Verarbeitung: 0.19 Sekunden
(vorverarbeitet am 2026-04-27)
¤
*© Formatika GbR, Deutschland