mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-24 19:34:08 +01:00
feat: Add support for agent handoffs with edges in agent forms and schemas
This commit is contained in:
parent
e705b09280
commit
317a5b5310
12 changed files with 406 additions and 3 deletions
|
|
@ -71,6 +71,10 @@ const agentSchema = new Schema<IAgent>(
|
|||
agent_ids: {
|
||||
type: [String],
|
||||
},
|
||||
edges: {
|
||||
type: [{ type: Schema.Types.Mixed }],
|
||||
default: [],
|
||||
},
|
||||
isCollaborative: {
|
||||
type: Boolean,
|
||||
default: undefined,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import { Document, Types } from 'mongoose';
|
||||
import type { GraphEdge } from 'librechat-data-provider';
|
||||
|
||||
export interface ISupportContact {
|
||||
name?: string;
|
||||
|
|
@ -28,6 +29,7 @@ export interface IAgent extends Omit<Document, 'model'> {
|
|||
hide_sequential_outputs?: boolean;
|
||||
end_after_tools?: boolean;
|
||||
agent_ids?: string[];
|
||||
edges?: GraphEdge[];
|
||||
/** @deprecated Use ACL permissions instead */
|
||||
isCollaborative?: boolean;
|
||||
conversation_starters?: string[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue