Files
klz-cables.com/.pnpm-store/v10/files/8c/4fe2711dfebcb7584c6c870e02ea1d6b92410bf4d3d2d0bc8b61f30ad7d8e3180aa5000697fe6d0301d4a640aac6422a8416575c7d2e724f429159e1275913
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

13 lines
813 B
Plaintext

import type { 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