UNPKG

langchain

Version:
10 lines (9 loc) • 406 B
// src/agents/middleware/types.ts /** * Unique symbol used to brand middleware instances. * This prevents functions from being accidentally assignable to AgentMiddleware * since functions have a 'name' property that would otherwise make them structurally compatible. */ const MIDDLEWARE_BRAND = Symbol.for("AgentMiddleware"); exports.MIDDLEWARE_BRAND = MIDDLEWARE_BRAND; //# sourceMappingURL=types.cjs.map