Skip to main content

Interface: ModelSummaryProvider

openaiAgents.ModelSummaryProvider

Methods

provide

provide(agent, instructions, input): string

Generate a human-readable summary for the model Activity shown in the Temporal UI. Runs inside the Workflow sandbox, so it must be deterministic and perform no non-deterministic I/O.

Parameters

NameType
agentundefined | Agent<any, any>
instructionsundefined | string
inputstring | AgentInputItem[]

Returns

string