llama-cpp-K2-FAST2 / tools /ui /src /lib /components /app /chat /ChatScreen /ChatScreenActionScrollDown.svelte
VladHong's picture
llama.cpp k2-fast2: MBZUAI model/K2Horizon + FAST2 sliding-window override
c59fd93 verified
Raw History Blame Contribute Delete
615 Bytes
<script lang="ts">
import { ArrowDown } from '@lucide/svelte';
import ActionIcon from '$lib/components/app/actions/ActionIcon.svelte';
import { ICON_CLASS_DEFAULT } from '$lib/constants';
let { onclick }: { onclick: (e?: MouseEvent) => void } = $props();
</script>
<div class="pointer-events-auto flex justify-center relative h-0">
<ActionIcon
ariaLabel="Scroll to bottom"
class="h-9 w-9 rounded-full bg-muted/60 border border-border/20 shadow-sm text-accent-foreground absolute bottom-4"
icon={ArrowDown}
iconSize={ICON_CLASS_DEFAULT}
{onclick}
size="lg"
tooltip="Scroll to bottom"
/>
</div>