feat: support edit preset,

feat: support view current conversation options.
feat: save current conversation as a preset.
feat: preset delete all.
This commit is contained in:
Wentao Lyu 2023-04-04 01:12:14 +08:00
parent dae0c2d5e3
commit d2579b44d1
15 changed files with 340 additions and 269 deletions

View file

@ -7,6 +7,7 @@ import store from '~/store';
function ModelDropDown({
model,
disabled,
setModel,
endpoint,
showAbove = false,
@ -23,6 +24,7 @@ function ModelDropDown({
<Listbox
value={model}
onChange={setModel}
disabled={disabled}
>
{({ open }) => (
<>