Files
sap-erp/node_modules/@anthropic-ai/sdk/helpers/beta/memory.js
T
John 69b4e68baf
SAP-ERP Portal CI/CD / build (push) Failing after 5m20s
first commit
2026-09-23 17:31:02 +05:30

18 lines
551 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.betaMemoryTool = betaMemoryTool;
function betaMemoryTool(handlers) {
return {
type: 'memory_20250818',
name: 'memory',
parse: (content) => content,
run: (args) => {
const handler = handlers[args.command];
if (!handler) {
throw new Error(`${args.command} not implemented`);
}
return handler.bind(handlers)(args);
},
};
}
//# sourceMappingURL=memory.js.map