assistantMessage
fun Testing.Config.SubgraphAssertionsBuilder<*, *>.assistantMessage(text: String, finishReason: String? = null): Message.Assistant(source)
Creates an assistant message with the provided text and finish reason.
Return
A new instance of Message.Assistant containing the provided content, finish reason, and associated metadata.
Parameters
text
The content of the assistant message.
finishReason
The reason indicating why the message was concluded. Defaults to null.