Options accepted by framework useStream APIs. Discriminated on the
shape of transport:
"sse" / "websocket") -> agent-server branch
(AgentServerOptions); supply assistantId + apiUrl.UseStreamOptions: AgentServerOptions<
StateType,
ThreadIdType,
ApiUrlType,
ApiKeyType
> | CustomAdapterOptions<StateType, ThreadIdType, CustomAssistantIdType>