File size: 416 Bytes
992a8de
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
<script lang="ts">
	import type { PageData, ActionData } from "./$types";
	import { page } from "$app/stores";
	import AssistantSettings from "$lib/components/AssistantSettings.svelte";

	export let data: PageData;
	export let form: ActionData;

	$: assistant = data.assistants.find((el) => el._id.toString() === $page.params.assistantId);
</script>

<AssistantSettings bind:form {assistant} models={data.models} />