mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-07 19:18:52 +01:00
🔄 refactor(EditPresetDialog): Update Model on Endpoint Change (#2936)
* refactor(EditPresetDialog): dynamically update current editable preset model on endpoint change * feat: Add null check for models in EditPresetDialog * chore(AlertDialogPortal): typing * fix(EditPresetDialog): prevent Unknown endpoint edge case for custom endpoints
This commit is contained in:
parent
248dfb8b5b
commit
f9a0166352
5 changed files with 98 additions and 13 deletions
|
|
@ -157,13 +157,13 @@ const useSetIndexOptions: TUseSetOptions = (preset = false) => {
|
|||
};
|
||||
|
||||
return {
|
||||
setTools,
|
||||
setOption,
|
||||
setExample,
|
||||
addExample,
|
||||
removeExample,
|
||||
setAgentOption,
|
||||
checkPluginSelection,
|
||||
setTools,
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue