Skip to main content

Interface: TemporalModelOptions

googleAdkAgentsWorkflow.TemporalModelOptions

Properties​

activity​

• Optional activity: ActivityOptions

Per-call Temporal Activity configuration (timeouts, retry, task queue).


streamingBatchInterval​

• Optional streamingBatchInterval: Duration

Coalescing interval for streamed chunks (default '100 milliseconds').


streamingTopic​

• Optional streamingTopic: string

Stream topic for incremental (SSE) responses, surfaced via @temporalio/workflow-streams. When set and stream is requested, the Activity publishes each LlmResponse chunk to this topic for external observers while still returning the full accumulated transcript to the Workflow (deterministic on replay).


summary​

• Optional summary: string | (req: LlmRequest) => string

A Temporal-UI summary for each model Activity. A function receives the outgoing LlmRequest so callers can derive a label from it; keep it deterministic for replay safety. Takes precedence over activity.summary; when neither is set, the request's adk_agent_name label is used, falling back to a generic auto-generated label.