Interface: GMIModelCallContext
Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:200
What GMIBaseConfig.beforeModelCall receives for one model attempt.
Properties
hop
hop:
number
Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:205
0 for the primary, n for the n-th fallback hop.
messages
messages:
ChatMessage[]
Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:209
The attempt's prompt, system messages included. A copy: return the messages to send instead.
modelId
modelId:
string
Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:207
providerId
providerId:
string
Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:206
stepIndex
stepIndex:
number
Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:203
0-based model step within the turn, as on the step's STEP_FINISHED.
turnId
turnId:
string
Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:201