SessionConfig

data class SessionConfig @JvmOverloads constructor(val timeoutMs: Long? = null, val autoTranslate: Boolean = true, val translator: Translator = Translator.NONE)

Settings for one A2aSession.

Parameters

timeoutMs

optional deadline for each turn; expiry fails the turn with DEADLINE_EXCEEDED

autoTranslate

translate non-English text to English with translator before sending

translator

translation backend; the default sends text unchanged

Constructors

Link copied to clipboard
constructor(timeoutMs: Long? = null, autoTranslate: Boolean = true, translator: Translator = Translator.NONE)

Properties

Link copied to clipboard
Link copied to clipboard
val timeoutMs: Long? = null
Link copied to clipboard