Preserve persona model without runtime

This commit is contained in:
klopez4212
2026-06-19 13:56:58 +01:00
parent 61483478ab
commit 372201c853

View File

@@ -320,7 +320,7 @@ export function PersonaDialog({
avatarUrl: avatarUrl.trim() || undefined,
systemPrompt: systemPrompt.trim(),
runtime: trimmedRuntime || undefined,
model: trimmedRuntime ? model.trim() || undefined : undefined,
model: model.trim() || undefined,
provider: preservedProvider ?? undefined,
namePool: preservedNamePool,
envVars: preservedEnvVars,