Skip to content

Commit 8c4d004

Browse files
fix inline type for sessions API response
1 parent 33f33bf commit 8c4d004

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ui/src/components/streaming/LiveStreamingView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { useEffect, useRef, useState } from 'react';
22
import { useTraceContext } from '../../context/TraceContext';
33
import { SessionCard } from './SessionCard';
44
import { config } from '../../config';
5-
import type { LiveSession } from '../../lib/types';
5+
import type { LiveSession, StreamingInvocation } from '../../lib/types';
66

77
export function LiveStreamingView() {
88
const { state, actions } = useTraceContext();
@@ -50,7 +50,7 @@ export function LiveStreamingView() {
5050
isComplete: boolean;
5151
startedAt: string;
5252
metadata: Record<string, unknown>;
53-
invocations?: Array<Record<string, unknown>>;
53+
invocations?: StreamingInvocation[];
5454
}> = await res.json();
5555
if (!mountedRef.current) return;
5656

0 commit comments

Comments
 (0)