Skip to main content

Interface: AgentOSFinalResponseChunk

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:116

Extends

Properties

activePersonaDetails?

optional activePersonaDetails: Partial<IPersonaDefinition>

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:132


audioOutput?

optional audioOutput: AudioOutputConfig

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:126


error?

optional error: object

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:130

code

code: string

details?

optional details: any

message

message: string


finalResponseText

finalResponseText: string | null

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:118


finalResponseTextPlain?

optional finalResponseTextPlain: string | null

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:123

Plain-text rendering of finalResponseText intended for voice/TTS and logs. When omitted, clients can derive it by stripping Markdown.


finalToolCalls?

optional finalToolCalls: ToolCallRequest[]

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:124


finalUiCommands?

optional finalUiCommands: UICommand[]

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:125


gmiInstanceId

gmiInstanceId: string

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:46

Inherited from

AgentOSResponseChunk.gmiInstanceId


imageOutput?

optional imageOutput: ImageOutputConfig

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:127


isFinal

isFinal: boolean

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:48

Inherited from

AgentOSResponseChunk.isFinal


metadata?

optional metadata: Record<string, any>

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:50

Inherited from

AgentOSResponseChunk.metadata


personaId

personaId: string

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:47

Inherited from

AgentOSResponseChunk.personaId


ragSources?

optional ragSources: RagRetrievedChunk[]

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:140

RAG source chunks that were used to generate this response. Populated by the GMI when RAG retrieval was performed. Used by grounding guardrails to verify response faithfulness. Undefined when no RAG retrieval was performed.


reasoningTrace?

optional reasoningTrace: ReasoningTraceEntry[]

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:129


streamId

streamId: string

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:45

Inherited from

AgentOSResponseChunk.streamId


timestamp

timestamp: string

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:49

Inherited from

AgentOSResponseChunk.timestamp


type

type: FINAL_RESPONSE

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:117

Overrides

AgentOSResponseChunk.type


updatedConversationContext?

optional updatedConversationContext: ConversationContext

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:131


usage?

optional usage: CostAggregator

Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:128