Interface: TurnInputForLearning
Defined in: packages/agentos/src/cognition/learning/types.ts:100
What a GMI, or a product's own turn loop, tells its learner session before a turn.
Properties
continuation?
optionalcontinuation:boolean
Defined in: packages/agentos/src/cognition/learning/types.ts:117
True for a tool continuation: it belongs to the turn it continues and is never read as another user's turn.
modelIds
modelIds:
string[]
Defined in: packages/agentos/src/cognition/learning/types.ts:113
The models the turn may run on, primary first; empty when the caller resolves none before the turn.
namespace
namespace:
string
Defined in: packages/agentos/src/cognition/learning/types.ts:109
This turn's own namespace: on the full runtime the turn's resolved organization id, '' when it has none; on
gmi(), whose turns carry no organization, ''. Every turn is read against the namespace the session was opened
under.
text
text:
string|null
Defined in: packages/agentos/src/cognition/learning/types.ts:111
The user's text; null for a tool continuation or a turn whose input is not plain text.
turnId
turnId:
string
Defined in: packages/agentos/src/cognition/learning/types.ts:101
userId
userId:
string|null
Defined in: packages/agentos/src/cognition/learning/types.ts:103
This turn's own user; null for a turn that names none.
workflowSeat
workflowSeat:
boolean
Defined in: packages/agentos/src/cognition/learning/types.ts:115
True for a turn that carries metadata.workflowId.