wip
Browse files
src/lib/components/InferencePlayground/InferencePlayground.svelte
CHANGED
@@ -41,10 +41,6 @@
|
|
41 |
|
42 |
$: systemPromptSupported = isSystemPromptSupported(conversation.model);
|
43 |
|
44 |
-
onDestroy(() => {
|
45 |
-
abortController?.abort();
|
46 |
-
});
|
47 |
-
|
48 |
function addMessage() {
|
49 |
conversation.messages = [
|
50 |
...conversation.messages,
|
@@ -134,6 +130,10 @@
|
|
134 |
submit();
|
135 |
}
|
136 |
}
|
|
|
|
|
|
|
|
|
137 |
</script>
|
138 |
|
139 |
{#if showTokenModal}
|
|
|
41 |
|
42 |
$: systemPromptSupported = isSystemPromptSupported(conversation.model);
|
43 |
|
|
|
|
|
|
|
|
|
44 |
function addMessage() {
|
45 |
conversation.messages = [
|
46 |
...conversation.messages,
|
|
|
130 |
submit();
|
131 |
}
|
132 |
}
|
133 |
+
|
134 |
+
onDestroy(() => {
|
135 |
+
abortController?.abort();
|
136 |
+
});
|
137 |
</script>
|
138 |
|
139 |
{#if showTokenModal}
|