UiMessageStreamBackend

constructor(endpoint: String, model: String = "", apiKey: String = "", tools: List<AgentTool> = emptyList(), approver: ToolApprover = ToolApprover.AlwaysApprove, client: OkHttpClient = DefaultHttpClient, maxRounds: Int = 8)(source)

Parameters

model

optional model override, sent as ?model= (server-specific).