Skip to content

Commit 23dae8b

Browse files
committed
Remove unnecessary exports
1 parent bf90b41 commit 23dae8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/src/utils/anthropic-ai/streaming.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import type { AnthropicAiStreamingEvent } from './types';
1515
/**
1616
* State object used to accumulate information from a stream of Anthropic AI events.
1717
*/
18-
export interface StreamingState {
18+
interface StreamingState {
1919
/** Collected response text fragments (for output recording). */
2020
responseTexts: string[];
2121
/** Reasons for finishing the response, as reported by the API. */
@@ -182,7 +182,7 @@ function handleContentBlockStop(event: AnthropicAiStreamingEvent, state: Streami
182182
* @param recordOutputs - Whether to record outputs
183183
* @param span - The span to update
184184
*/
185-
export function processEvent(
185+
function processEvent(
186186
event: AnthropicAiStreamingEvent,
187187
state: StreamingState,
188188
recordOutputs: boolean,
@@ -210,7 +210,7 @@ export function processEvent(
210210
/**
211211
* Finalizes span attributes when stream processing completes
212212
*/
213-
export function finalizeStreamSpan(state: StreamingState, span: Span, recordOutputs: boolean): void {
213+
function finalizeStreamSpan(state: StreamingState, span: Span, recordOutputs: boolean): void {
214214
// Set common response attributes if available
215215
if (state.responseId) {
216216
span.setAttributes({

0 commit comments

Comments
 (0)