Companion

object Companion

Properties

Link copied to clipboard
const val DEFAULT_HOST: String

Loopback, so an unauthenticated server is not reachable off the machine by default.

Link copied to clipboard
const val DEFAULT_PORT: Int = 8080

Port both server variants listen on unless told otherwise.

Functions

Link copied to clipboard
fun inMemory(agent: BaseAgent, port: Int = DEFAULT_PORT): AdkServerConfig

Config for serving a single agent, with session and artifact state held in memory.