File size: 477 Bytes
82be208
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Shared reactive fixture state for the Tier 1 perf harness.
//
// The wrapper component reads this module directly rather than taking props,
// so the driver can mutate it without depending on how the test renderer
// forwards props.

import type { DatabaseMessage } from '$lib/types';

export const perfState = $state<{
	message: DatabaseMessage | null;
	toolMessages: DatabaseMessage[];
	isStreaming: boolean;
}>({
	isStreaming: true,
	message: null,
	toolMessages: []
});