Spaces:
Runtime error
Runtime error
wip
Browse filesFiles changed (3)
6 unmodified lines7891011121314156 unmodified linesimport Message from "./InferencePlaygroundMessage.svelte";import IconPlus from "../Icons/IconPlus.svelte";export let loading;export let conversation: Conversation;export let viewCode;const dispatch = createEventDispatcher<{addMessage: void;6 unmodified lines7891011121314156 unmodified linesimport Message from "./InferencePlaygroundMessage.svelte";import IconPlus from "../Icons/IconPlus.svelte";export let conversation: Conversation;export let loading: boolean;export let viewCode: boolean;const dispatch = createEventDispatcher<{addMessage: void;
10 unmodified lines111213141516171810 unmodified linesconst dispatch = createEventDispatcher<{ close: void }>();function handleKeydown(event: KeyboardEvent) {// close on ESCif (event.key === "Escape") {event.preventDefault();dispatch("close");}10 unmodified lines111213141516171810 unmodified linesconst dispatch = createEventDispatcher<{ close: void }>();function handleKeydown(event: KeyboardEvent) {const { key } = event;if (key === "Escape") {event.preventDefault();dispatch("close");}
12 unmodified lines1314151617181912 unmodified linesconst dispatch = createEventDispatcher<{ modelSelected: string; close: void }>();function handleKeydown(event: KeyboardEvent) {if (event.key === "Escape") {event.preventDefault();dispatch("close");}12 unmodified lines131415161718192012 unmodified linesconst dispatch = createEventDispatcher<{ modelSelected: string; close: void }>();function handleKeydown(event: KeyboardEvent) {const { key } = event;if (key === "Escape") {event.preventDefault();dispatch("close");}
src/lib/components/InferencePlayground/InferencePlaygroundConversation.svelte+2-2
src/lib/components/InferencePlayground/InferencePlaygroundHFTokenModal.svelte+2-2
src/lib/components/InferencePlayground/InferencePlaygroundModelSelectorModal.svelte+2-1