Interface: AgentOSFinalResponseChunk
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:125
Extends
Properties
activePersonaDetails?
optionalactivePersonaDetails:Partial<IPersonaDefinition>
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:141
audioOutput?
optionalaudioOutput:AudioOutputConfig
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:135
error?
optionalerror:object
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:139
code
code:
string
details?
optionaldetails:any
message
message:
string
finalResponseText
finalResponseText:
string|null
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:127
finalResponseTextPlain?
optionalfinalResponseTextPlain:string|null
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:132
Plain-text rendering of finalResponseText intended for voice/TTS and logs.
When omitted, clients can derive it by stripping Markdown.
finalToolCalls?
optionalfinalToolCalls:ToolCallRequest[]
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:133
finalUiCommands?
optionalfinalUiCommands:UICommand[]
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:134
gmiInstanceId
gmiInstanceId:
string
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:46
Inherited from
AgentOSResponseChunk.gmiInstanceId
imageOutput?
optionalimageOutput:ImageOutputConfig
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:136
isFinal
isFinal:
boolean
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:48
Inherited from
metadata?
optionalmetadata:Record<string,any>
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:50
Inherited from
personaId
personaId:
string
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:47
Inherited from
AgentOSResponseChunk.personaId
ragSources?
optionalragSources:RagRetrievedChunk[]
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:149
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?
optionalreasoningTrace:ReasoningTraceEntry[]
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:138
streamId
streamId:
string
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:45
Inherited from
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:126
Overrides
updatedConversationContext?
optionalupdatedConversationContext:ConversationContext
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:140
usage?
optionalusage:CostAggregator
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:137