Download tools/ui/tests/client/components/agentic-perf-state.svelte.ts from Brunobkr/llama.cpp_AlgMor24_github: direct link, hf CLI and curl.
- Browser
- Download file 477 Bytes
-
https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/tools/ui/tests/client/components/agentic-perf-state.svelte.ts
- Command line
-
hf download hf://datasets/Brunobkr/llama.cpp_AlgMor24_github/tools/ui/tests/client/components/agentic-perf-state.svelte.ts
-
curl -L -o agentic-perf-state.svelte.ts https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/tools/ui/tests/client/components/agentic-perf-state.svelte.ts
477 Bytes
| // 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: [] | |
| }); | |