nsarrazin HF staff commited on
Commit
a32541c
1 Parent(s): 5b0d756

fix: preprompt in new conv not using settings store

Browse files
Files changed (1) hide show
  1. 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[data.settings.activeModel],
28
  }),
29
  });
30
 
 
24
  },
25
  body: JSON.stringify({
26
  model: $settings.activeModel,
27
+ preprompt: $settings.customPrompts[$settings.activeModel],
28
  }),
29
  });
30