Spaces:
Runtime error
Runtime error
featued model
Browse files7 unmodified lines89101112131410 unmodified lines25262727282930317 unmodified lines handleStreamingResponse, handleNonStreamingResponse, isSystemPromptSupported, FEATUED_MODELS_IDS, } from "./inferencePlaygroundUtils";
import { onDestroy } from "svelte";10 unmodified lines const startMessageSystem: ChatCompletionInputMessage = { role: "system", content: "" };
let conversation: Conversation = { model: models[0], model: models.find(m => FEATUED_MODELS_IDS.includes(m.id)) ?? models[0], config: defaultGenerationConfig, messages: [{ ...startMessageUser }], systemMessage: startMessageSystem,src/lib/components/InferencePlayground/InferencePlayground.svelte+2-1