Skip to main content

Interface: ProcessingOptions

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:133

Defines fine-grained control options for how AgentOS processes an individual turn. These options can override system defaults or persona-specific settings for the duration of the current request, allowing for dynamic adjustments to GMI behavior and output.

Interface​

ProcessingOptions

Properties​

customFlags?​

optional customFlags: Record<string, any>

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:151


debugMode?​

optional debugMode: boolean

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:149


disableAdaptation?​

optional disableAdaptation: boolean

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:148


forceNewConversation?​

optional forceNewConversation: boolean

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:150


maxTokens?​

optional maxTokens: number

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:146


maxToolCallIterations?​

optional maxToolCallIterations: number

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:135


preferredModelId?​

optional preferredModelId: string

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:137

The model for this turn's model calls, over the persona's defaultModelId and the config's default model.


preferredProviderId?​

optional preferredProviderId: string

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:143

The provider for this turn's model calls, over the persona's defaultProviderId and the config's default provider. Name it with a preferredModelId of another provider than the persona's. The tool results that continue the turn (handleToolResult(), handleToolResults(), resumeExternalToolRequest()) keep both.


responseFormat?​

optional responseFormat: object

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:147

type​

type: string


streamUICommands?​

optional streamUICommands: boolean

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:134


structuredReply?​

optional structuredReply: StructuredReplySpec

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:157

A reply that must match a schema: the model is instructed, its reply parsed and checked, a reply that does not match asked for again inside the turn, and the final chunk carries the parsed value (structured). See src/api/runtime/structuredReply.ts.


temperature?​

optional temperature: number

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:144


topP?​

optional topP: number

Defined in: packages/agentos/src/api/types/AgentOSInput.ts:145