Package-level declarations
Types
Link copied to clipboard
class UiMessageStreamBackend(endpoint: String, model: String = "", apiKey: String = "", tools: List<AgentTool> = emptyList(), approver: ToolApprover = ToolApprover.AlwaysApprove, client: OkHttpClient = DefaultHttpClient, maxRounds: Int = 8) : ChatBackend
Talks to an agent server speaking a Vercel AI SDK streaming protocol — e.g. the bundled Pydantic AI server (server/main.py), or any AI SDK route: