Files
klz-cables.com/.pnpm-store/v10/files/01/c1c0fc3c94d1caf909539bc2294725bf42a520697f1b733de441f757009a90f2d0e11ac9249219563d8edcd17cc7b906df328b89f3819e530e89f66ec40995
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

14 lines
822 B
Plaintext

import { Span } from '../../types-hoist/span';
/**
* Instruments a stream of OpenAI events, updating the provided span with relevant attributes and
* optionally recording output text. This function yields each event from the input stream as it is processed.
*
* @template T - The type of events in the stream.
* @param stream - The async iterable stream of events to instrument.
* @param span - The span to add attributes to and to finish at the end of the stream.
* @param recordOutputs - Whether to record output text fragments in the span.
* @returns An async generator yielding each event from the input stream.
*/
export declare function instrumentStream<T>(stream: AsyncIterable<T>, span: Span, recordOutputs: boolean): AsyncGenerator<T, void, unknown>;
//# sourceMappingURL=streaming.d.ts.map