Skip to main content

Interface: GMIToolCallGateContext

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

What the GMI tells a GMIToolCallGate beside the call it asks about.

Interface​

GMIToolCallGateContext

Properties​

ragSources?​

optional ragSources: RagRetrievedChunk[]

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

The sources the turn retrieved for the model, when it retrieved any. A tool continuation retrieves nothing of its own and passes the sources of the user turn it continues.


stepCalls?​

optional stepCalls: readonly ToolCallRequest[]

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

Every call of the model step the call belongs to, in the order the model asked for them, the call among them. The GMI asks about each call of a step before the first of them runs and passes the same array with each question, so a gate can judge the calls together as well as one by one.