Skip to main content

Enumeration: GMIOutputChunkType

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:412

Defines the type of content in a GMIOutputChunk.

Enumeration Members​

ERROR​

ERROR: "error"

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:417


FINAL_RESPONSE_MARKER​

FINAL_RESPONSE_MARKER: "final_response_marker"

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:416


LATENCY_REPORT​

LATENCY_REPORT: "latency_report"

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:420


RAG_SOURCES_AVAILABLE​

RAG_SOURCES_AVAILABLE: "rag_sources_available"

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:428

Emitted after a successful RAG retrieval during a turn so downstream consumers (guardrails, grounding verification, UI source panels) can see the retrieved chunks before the LLM call produces text deltas. The chunk content is { ragSources: RagRetrievedChunk[] }.


REASONING_STATE_UPDATE​

REASONING_STATE_UPDATE: "reasoning_state_update"

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:415


STEP_FINISHED​

STEP_FINISHED: "step_finished"

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:434

One per model step that completes: the step's text, finish reason, provider, model, hop and usage. A step that fails emits none: a USAGE_UPDATE with metadata.attemptFailed: true reports what it was billed, when the provider reported that, and the turn's ERROR chunk follows. Content: StepFinishedChunkPayload.


SYSTEM_MESSAGE​

SYSTEM_MESSAGE: "system_message"

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:418


TEXT_DELTA​

TEXT_DELTA: "text_delta"

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:413


TOOL_CALL_REQUEST​

TOOL_CALL_REQUEST: "tool_call_request"

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:414


TOOL_RESULT​

TOOL_RESULT: "tool_result"

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:439

One per result the GMI records for a call of its own tool round, failures included. Results a host passes to handleToolResults() produce none. Content: ToolResultChunkPayload.


UI_COMMAND​

UI_COMMAND: "ui_command"

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:421


USAGE_UPDATE​

USAGE_UPDATE: "usage_update"

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:419