跳转到内容

ToolEnabledFunction

此内容尚不支持你的语言。

type ToolEnabledFunction<Context> = (runContext, agent) => Promise<boolean>;
Type Parameter Default type

Context

UnknownContext

Parameter Type

runContext

RunContext<Context>

agent

Agent<any, any>

Promise<boolean>