Spaces:
Build error
Build error
fix: preprompt in new conv not using settings store
Browse files- src/routes/+page.svelte +1 -1
src/routes/+page.svelte
CHANGED
@@ -24,7 +24,7 @@
|
|
24 |
},
|
25 |
body: JSON.stringify({
|
26 |
model: $settings.activeModel,
|
27 |
-
preprompt: $settings.customPrompts[
|
28 |
}),
|
29 |
});
|
30 |
|
|
|
24 |
},
|
25 |
body: JSON.stringify({
|
26 |
model: $settings.activeModel,
|
27 |
+
preprompt: $settings.customPrompts[$settings.activeModel],
|
28 |
}),
|
29 |
});
|
30 |
|