返回文档
正在准备搜索索引...
搜索索引不可用
API 参考
API 参考
langgraph/prebuilt
createFunctionCallingExecutor
函数 createFunctionCallingExecutor
create
Function
Calling
Executor
<
Model
>
(
__namedParameters
)
:
CompiledStateGraph
<
FunctionCallingExecutorState
,
Partial
<
FunctionCallingExecutorState
>
,
typeof
START
|
"agent"
|
"action"
>
类型参数
Model
继承
object
参数
命名参数
:
{
model
:
Model
;
tools
:
(
StructuredToolInterface
<
ToolInputSchemaBase
,
any
,
any
>
|
RunnableToolLike
<
InteropZodType
,
unknown
>
)
[]
|
ToolExecutor
;
}
model
:
Model
tools
:
(
StructuredToolInterface
<
ToolInputSchemaBase
,
any
,
any
>
|
RunnableToolLike
<
InteropZodType
,
unknown
>
)
[]
|
ToolExecutor
返回
CompiledStateGraph
<
FunctionCallingExecutorState
,
Partial
<
FunctionCallingExecutorState
>
,
typeof
START
|
"agent"
|
"action"
>
已弃用
请改用
createReactAgent
并结合工具调用能力。
设置
成员可见性
受保护
继承
外部
主题
操作系统
浅色
深色
API 参考
加载中...
已弃用
请改用 createReactAgent 并结合工具调用能力。