跳转到内容

ToolTimeoutErrorFunction

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

type ToolTimeoutErrorFunction<Context> = (context, error) => Promise<string> | string;
Type Parameter Default type

Context

UnknownContext

Parameter Type

context

RunContext<Context>

error

ToolTimeoutError

Promise<string> | string