run
open override fun run(userId: String, sessionId: String, newMessage: Content, runConfig: RunConfig?): Iterator<Event>
Sync interface for local testing and convenience purpose.
Return
The events generated by the agent.
Parameters
userId
The user ID of the session.
sessionId
The session ID of the session.
newMessage
A new message to append to the session.
runConfig
The run config for the agent.