langchain
Version:
Typescript bindings for langchain
10 lines (9 loc) • 389 B
JavaScript
// 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");
export { MIDDLEWARE_BRAND };
//# sourceMappingURL=types.js.map