mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 11:20:15 +01:00
🐛 fix: Correct Model Parameters Merging and Panel UI (#5038)
* fix: Model Panel, watching wrong form field * fix: Refactor agent initialization to merge model parameters correctly
This commit is contained in:
parent
000641c619
commit
f873587e5f
4 changed files with 35 additions and 15 deletions
|
|
@ -177,10 +177,10 @@ export type AgentPanelProps = {
|
|||
};
|
||||
|
||||
export type AgentModelPanelProps = {
|
||||
setActivePanel: React.Dispatch<React.SetStateAction<Panel>>;
|
||||
providers: Option[];
|
||||
models: Record<string, string[]>;
|
||||
agent_id?: string;
|
||||
providers: Option[];
|
||||
models: Record<string, string[] | undefined>;
|
||||
setActivePanel: React.Dispatch<React.SetStateAction<Panel>>;
|
||||
};
|
||||
|
||||
export type AugmentedColumnDef<TData, TValue> = ColumnDef<TData, TValue> & DataColumnMeta;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue