Generate or specify an agent response in the conversation.
If content is provided, it will be used as the agent response. If no content
is provided, the agent under test will be called to generate its response
based on the current conversation state.
Parameters
Optionalcontent: string|CoreMessage
Optional agent response content. Can be a string or full message object.
If undefined, the agent under test will generate content automatically.
Generate or specify an agent response in the conversation.
If content is provided, it will be used as the agent response. If no content is provided, the agent under test will be called to generate its response based on the current conversation state.