mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-21 17:56:13 +01:00
feat: first pass, sharing agents
This commit is contained in:
parent
0a73caf1d8
commit
1bc0689134
8 changed files with 241 additions and 22 deletions
|
|
@ -90,6 +90,7 @@ export const defaultAgentFormValues = {
|
|||
model_parameters: {},
|
||||
tools: [],
|
||||
provider: {},
|
||||
projectIds: [],
|
||||
code_interpreter: false,
|
||||
image_vision: false,
|
||||
retrieval: false,
|
||||
|
|
|
|||
|
|
@ -160,6 +160,7 @@ export type Agent = {
|
|||
file_ids: string[];
|
||||
instructions: string | null;
|
||||
tools?: string[];
|
||||
projectIds?: string[];
|
||||
tool_kwargs?: Record<string, unknown>;
|
||||
tool_resources?: ToolResources;
|
||||
metadata?: Record<string, unknown>;
|
||||
|
|
@ -192,8 +193,10 @@ export type AgentUpdateParams = {
|
|||
tools?: Array<FunctionTool | string>;
|
||||
tool_resources?: ToolResources;
|
||||
provider?: AgentProvider;
|
||||
model: string | null;
|
||||
model_parameters: AgentModelParameters;
|
||||
model?: string | null;
|
||||
model_parameters?: AgentModelParameters;
|
||||
projectIds?: string[];
|
||||
removeProjectIds?: string[];
|
||||
};
|
||||
|
||||
export type AgentListParams = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue