wip
Browse files
src/lib/components/InferencePlayground/InferencePlayground.svelte
CHANGED
@@ -84,10 +84,8 @@
|
|
84 |
}
|
85 |
|
86 |
function deleteMessage(idx: number) {
|
87 |
-
|
88 |
-
|
89 |
-
return conversation;
|
90 |
-
});
|
91 |
}
|
92 |
|
93 |
function reset() {
|
|
|
84 |
}
|
85 |
|
86 |
function deleteMessage(idx: number) {
|
87 |
+
deleteAndGetItem<ChatCompletionInputMessage>(conversation.messages, idx);
|
88 |
+
conversation = conversation;
|
|
|
|
|
89 |
}
|
90 |
|
91 |
function reset() {
|