feat(ui,api,admin): sveltekit admin spa, usage by day/agent/conversation/model, rate limits, memory tree, turn snapshot
This commit is contained in:
1 parent
61562e947d
commit
98796a82c6
158 files changed
+8459
-2531
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<script lang="ts">
|
||||
import { goto } from "$app/navigation";
|
||||
import { base } from "$app/paths";
|
||||
import { page } from "$app/state";
|
||||
import ConversationView from "$lib/panel/conversation-view.svelte";
|
||||
import { session } from "$lib/session.svelte";
|
||||
|
||||
const id = $derived(page.params.id ?? "");
|
||||
const href = (target: string) => `${base}/conversations/${target}`;
|
||||
</script>
|
||||
|
||||
<svelte:head><title>Conversation · Beaver</title></svelte:head>
|
||||
|
||||
{#if session.client && id}
|
||||
{#key id}
|
||||
<ConversationView
|
||||
client={session.client}
|
||||
{href}
|
||||
{id}
|
||||
onOpen={(target) => goto(href(target))}
|
||||
/>
|
||||
{/key}
|
||||
{/if}
|
||||
Reference in new issue
Block a user