Interface GMIToolCallGateContext

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

Interface

GMIToolCallGateContext

interface GMIToolCallGateContext {
    stepCalls?: readonly ToolCallRequest[];
    ragSources?: RagRetrievedChunk[];
}

Properties

stepCalls?: readonly ToolCallRequest[]

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.

ragSources?: RagRetrievedChunk[]

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.