Back to documentation
Preparing search index...
The search index is not available
API Reference
API Reference
langgraph-supervisor
CreateSupervisorParams
Type alias CreateSupervisorParams<AnnotationRootT>
Create
Supervisor
Params
<
AnnotationRootT
>
:
{
addHandoffBackMessages
?:
boolean
;
agents
:
CompiledStateGraph
<
AnnotationRootT
[
"State"
]
,
AnnotationRootT
[
"Update"
]
,
string
,
AnnotationRootT
[
"spec"
]
,
AnnotationRootT
[
"spec"
]
>
[]
;
llm
:
LanguageModelLike
;
outputMode
?:
OutputMode
;
prompt
?:
CreateReactAgentParams
[
"prompt"
]
;
stateSchema
?:
AnnotationRootT
;
supervisorName
?:
string
;
tools
?:
(
StructuredToolInterface
|
RunnableToolLike
|
DynamicTool
)
[]
;
}
Type Parameters
AnnotationRootT
extends
AnnotationRoot
<
any
>
Type declaration
Optional
add
Handoff
Back
Messages
?:
boolean
agents
:
CompiledStateGraph
<
AnnotationRootT
[
"State"
]
,
AnnotationRootT
[
"Update"
]
,
string
,
AnnotationRootT
[
"spec"
]
,
AnnotationRootT
[
"spec"
]
>
[]
llm
:
LanguageModelLike
Optional
output
Mode
?:
OutputMode
Optional
prompt
?:
CreateReactAgentParams
[
"prompt"
]
Optional
state
Schema
?:
AnnotationRootT
Optional
supervisor
Name
?:
string
Optional
tools
?:
(
StructuredToolInterface
|
RunnableToolLike
|
DynamicTool
)
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
API Reference
Loading...