Interface: AgentOSFinalResponseChunk
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:116
Extends
Properties
activePersonaDetails?
optionalactivePersonaDetails:Partial<IPersonaDefinition>
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:132
audioOutput?
optionalaudioOutput:AudioOutputConfig
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:126
error?
optionalerror:object
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:130
code
code:
string
details?
optionaldetails:any
message
message:
string
finalResponseText
finalResponseText:
string|null
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:118
finalResponseTextPlain?
optionalfinalResponseTextPlain: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?
optionalfinalToolCalls:ToolCallRequest[]
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:124
finalUiCommands?
optionalfinalUiCommands: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?
optionalimageOutput: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
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: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?
optionalreasoningTrace: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
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
updatedConversationContext?
optionalupdatedConversationContext:ConversationContext
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:131
usage?
optionalusage:CostAggregator
Defined in: packages/agentos/src/api/types/AgentOSResponse.ts:128