AdkDevServer

The local development server: AdkApiServer plus the endpoints the Dev UI drives, and the UI.

These endpoints read agent state and run debugging code, so this variant belongs on a development machine; deploy AdkApiServer instead.

Constructors

Link copied to clipboard
constructor(config: AdkServerConfig)

Functions

Link copied to clipboard
fun start(wait: Boolean = false)
Link copied to clipboard
fun stop()

Stops the engine, which waits for adkApiModule to flush AdkServerConfig.sessionService: up to 3 seconds more for a flush that honors cancellation.