Skip to content

ModelResponse

type ModelResponse = object;
output: AgentOutputItem[];

A list of outputs (messages, tool calls, etc.) generated by the model.


optional responseId: string;

An ID for the response which can be used to refer to the response in subsequent calls to the model. Not supported by all model providers.


usage: Usage;

The usage information for response.