agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
13 lines • 508 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isCollapsedToolResult = void 0;
/** Type guard for a consumer reading a served tool message. */
function isCollapsedToolResult(value) {
return (typeof value === 'object' &&
value !== null &&
value.collapsed === true &&
typeof value.standing === 'string' &&
typeof value.toolCallId === 'string');
}
exports.isCollapsedToolResult = isCollapsedToolResult;
//# sourceMappingURL=ticket.js.map