UNPKG

@tanstack/ai

Version:

Type-safe TypeScript AI SDK for streaming chat, tool calling, agents, structured outputs, and multimodal generation.

18 lines (17 loc) 288 B
function createChatMiddleware() { const list = []; const builder = { use(middleware) { list.push(middleware); return builder; }, build() { return list; } }; return builder; } export { createChatMiddleware }; //# sourceMappingURL=builder.js.map