Optionalinput: {Optionaloptions: BidiActionRunOptions<ReadonlyabortReadonlygetAborts a running snapshot. Requires a server store.
Optionaloptions: SessionStoreOptionsReads a snapshot without starting a chat. Requires a server store. Accepts
a snapshotId string, or a lookup object ({ snapshotId } /
{ sessionId }).
Optionalinput: {Optionaloptions: BidiActionRunOptions<Optionalinput: {Optionalopts: BidiActionRunOptions<Optionalinit: {Optionalopts: BidiActionRunOptions<
Represents a configured, registered Agent.
An
Agentexposes two surfaces:chat,loadChat,getSnapshot,abort) - the same surface returned byremoteAgenton the client, so server- and client-side code share one interface.run,streamBidi, …) for advanced use and for serving over HTTP.