Skip to main content

Interface: GMITurnInput

Defined in: packages/agentos/src/cognitive_substrate/IGMI.ts:189

Represents a single turn of input to the GMI. GMITurnInput

Properties

content

content: string | Record<string, any> | ToolCallResult | ToolCallResult[] | Record<string, any>[]

Defined in: packages/agentos/src/cognitive_substrate/IGMI.ts:194


interactionId

interactionId: string

Defined in: packages/agentos/src/cognitive_substrate/IGMI.ts:190


metadata?

optional metadata: Record<string, any> & object

Defined in: packages/agentos/src/cognitive_substrate/IGMI.ts:198

Type Declaration

conversationHistoryForPrompt?

optional conversationHistoryForPrompt: any[]

Optional conversation history snapshot to use for prompt construction. When provided, the GMI should prefer this over any internal ephemeral history so persona switches share conversation memory.

explicitPersonaSwitchId?

optional explicitPersonaSwitchId: string

options?

optional options: Partial<ModelCompletionOptions & object>

promptProfile?

optional promptProfile: { id: string; reason?: string; systemInstructions?: string; } | null

Optional prompt-profile selection for this turn (e.g., concise/deep_dive/planner/reviewer).

rollingSummary?

optional rollingSummary: { json?: any; text?: string; } | null

Optional rolling summary block (text + structured metadata) maintained by ConversationContext and injected into prompts for long conversations.

userApiKeys?

optional userApiKeys: Record<string, string>

userFeedback?

optional userFeedback: any


sessionId?

optional sessionId: string

Defined in: packages/agentos/src/cognitive_substrate/IGMI.ts:192


taskContextOverride?

optional taskContextOverride: Partial<TaskContext>

Defined in: packages/agentos/src/cognitive_substrate/IGMI.ts:197


timestamp?

optional timestamp: Date

Defined in: packages/agentos/src/cognitive_substrate/IGMI.ts:195


type

type: GMIInteractionType

Defined in: packages/agentos/src/cognitive_substrate/IGMI.ts:193


userContextOverride?

optional userContextOverride: Partial<UserContext>

Defined in: packages/agentos/src/cognitive_substrate/IGMI.ts:196


userId

userId: string

Defined in: packages/agentos/src/cognitive_substrate/IGMI.ts:191