Spaces:
Sleeping
Sleeping
Messages must alternate between user/assistant roles
Browse files82 unmodified lines83848586878882 unmodified linesshowTokenModal = true;return;}(document.activeElement as HTMLElement).blur();loading = true;82 unmodified lines838485868788899091929382 unmodified linesshowTokenModal = true;return;}if (conversation.messages.at(-1)?.role === "assistant") {return alert("Messages must alternate between user/assistant roles.");}(document.activeElement as HTMLElement).blur();loading = true;
src/lib/components/InferencePlayground/InferencePlayground.svelte+5