gijl/lv-storage / llama.cpp /tools /ui /tests /client /components /ChatFormInputRichHarness.svelte
gijl's picture
download
raw
645 Bytes
<script lang="ts">
import ChatFormInputRich from '$lib/components/app/chat/ChatForm/ChatFormInput/ChatFormInputRich.svelte';
import { untrack } from 'svelte';
interface Props {
value?: string;
}
let { value: initial = '' }: Props = $props();
let value = $state(untrack(() => initial));
let inputRef: ChatFormInputRich | undefined = $state(undefined);
export function getValue() {
return value;
}
export function getCaretOffset() {
return inputRef?.getCaretOffset();
}
export function setCaretOffset(offset: number) {
inputRef?.setCaretOffset(offset);
}
</script>
<ChatFormInputRich bind:this={inputRef} bind:value />

Xet Storage Details

Size:
645 Bytes
·
Xet hash:
39d9f9017dfd8745679ef11f82522f6b9c6f22b87ddd9f45953f86afd70ef884

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.