跳转到内容

OutputGuardrailFunctionArgs

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

Arguments for an output guardrail function.

Type Parameter Default type

TContext

UnknownContext

TOutput extends AgentOutputType

TextOutput

agent: Agent<any, any>;

agentOutput: ResolvedAgentOutput<TOutput>;

context: RunContext<TContext>;

optional details: object;

Additional details about the agent output.

Name Type Description

modelResponse?

ModelResponse

Model response associated with the output if available.