<<<<<<< HEAD ======= >>>>>>> 0a75ee1214dbcf88620b703810fab9e09d8c89fb

run

open override fun run(userId: String, sessionId: String, newMessage: Content, runConfig: RunConfig? = null): 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.