Interface AgentOSInput

interface AgentOSInput {
    userId: string;
    sessionId: string;
    textInput: null | string;
    visionInputs?: VisionInputData[];
    audioInput?: AudioInputData;
    selectedPersonaId?: string;
    languageHint?: string;
    detectedLanguages?: {
        code: string;
        confidence: number;
    }[];
    targetLanguage?: string;
    userApiKeys?: Record<string, string>;
    userFeedback?: UserFeedbackPayload;
    conversationId?: string;
    workflowRequest?: WorkflowInvocationRequest;
    agencyRequest?: AgencyInvocationRequest;
    options?: ProcessingOptions;
}

Properties

userId: string
sessionId: string
textInput: null | string
visionInputs?: VisionInputData[]
audioInput?: AudioInputData
selectedPersonaId?: string
languageHint?: string

Optional explicit language hint from UI (BCP-47 or ISO 639-1).

detectedLanguages?: {
    code: string;
    confidence: number;
}[]

Optional detected languages supplied externally (highest confidence first).

Type declaration

  • code: string
  • confidence: number
targetLanguage?: string

Optional target language override (skips negotiation if supported).

userApiKeys?: Record<string, string>
userFeedback?: UserFeedbackPayload
conversationId?: string
workflowRequest?: WorkflowInvocationRequest
agencyRequest?: AgencyInvocationRequest