import { z } from 'zod'; import type { ZodError } from 'zod'; import type { TEndpointsConfig, TModelsConfig, TConfig } from './types'; import { EModelEndpoint } from './schemas'; import { ComponentTypes, SettingTypes, OptionTypes } from './generate'; import { CODE_ENVIRONMENT_DECISION_VERSION } from './code/workspace'; import { TSpecsConfig } from './models'; import { FileSources } from './types/files'; export { MAX_SUBAGENTS, MAX_SUBAGENTS_CEILING, getMaxSubagents, setMaxSubagents, MAX_GRAPH_SUBAGENT_MEMBERS, MAX_CHAT_PROJECT_NAME_LENGTH, MAX_CHAT_PROJECT_DESCRIPTION_LENGTH, } from './limits'; export declare const defaultSocialLogins: string[]; export declare const BASE_ONLY_CONFIG_SECTIONS: readonly ["filters"]; /** Sections that may be stored in the tenant's base config document but must * not be overridden or tombstoned by role, group, or user config documents. */ export declare const BASE_PRINCIPAL_CONFIG_SECTIONS: readonly ["langfuse"]; export declare const defaultRetrievalModels: string[]; export declare const excludedKeys: Set; export declare enum SettingsViews { default = "default", advanced = "advanced" } /** Validates any FileSources value — use for file metadata, DB records, and upload routing. */ export declare const fileSourceSchema: z.ZodNativeEnum; export declare const allowedAddressesSchema: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; export declare const fileStorageSchema: z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob, FileSources.cloudfront]>; export type FileStorage = z.infer; export declare const fileStrategiesSchema: z.ZodOptional>; avatar: z.ZodOptional>; image: z.ZodOptional>; document: z.ZodOptional>; skills: z.ZodOptional>; }, "strip", z.ZodTypeAny, { avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; skills?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; }, { avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; skills?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; }>>; export declare const cloudfrontConfigSchema: z.ZodOptional; invalidateOnDelete: z.ZodDefault; imageSigning: z.ZodDefault>; urlExpiry: z.ZodDefault; cookieExpiry: z.ZodDefault; cookieDomain: z.ZodOptional>; storageRegion: z.ZodOptional; includeRegionInPath: z.ZodDefault; requireSignedAccess: z.ZodDefault; }, "strip", z.ZodTypeAny, { domain: string; invalidateOnDelete: boolean; imageSigning: "none" | "url" | "cookies"; urlExpiry: number; cookieExpiry: number; includeRegionInPath: boolean; requireSignedAccess: boolean; distributionId?: string | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; }, { domain: string; distributionId?: string | undefined; invalidateOnDelete?: boolean | undefined; imageSigning?: "none" | "url" | "cookies" | undefined; urlExpiry?: number | undefined; cookieExpiry?: number | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; includeRegionInPath?: boolean | undefined; requireSignedAccess?: boolean | undefined; }>, { domain: string; invalidateOnDelete: boolean; imageSigning: "none" | "url" | "cookies"; urlExpiry: number; cookieExpiry: number; includeRegionInPath: boolean; requireSignedAccess: boolean; distributionId?: string | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; }, { domain: string; distributionId?: string | undefined; invalidateOnDelete?: boolean | undefined; imageSigning?: "none" | "url" | "cookies" | undefined; urlExpiry?: number | undefined; cookieExpiry?: number | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; includeRegionInPath?: boolean | undefined; requireSignedAccess?: boolean | undefined; }>, { domain: string; invalidateOnDelete: boolean; imageSigning: "none" | "url" | "cookies"; urlExpiry: number; cookieExpiry: number; includeRegionInPath: boolean; requireSignedAccess: boolean; distributionId?: string | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; }, { domain: string; distributionId?: string | undefined; invalidateOnDelete?: boolean | undefined; imageSigning?: "none" | "url" | "cookies" | undefined; urlExpiry?: number | undefined; cookieExpiry?: number | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; includeRegionInPath?: boolean | undefined; requireSignedAccess?: boolean | undefined; }>, { domain: string; invalidateOnDelete: boolean; imageSigning: "none" | "url" | "cookies"; urlExpiry: number; cookieExpiry: number; includeRegionInPath: boolean; requireSignedAccess: boolean; distributionId?: string | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; }, { domain: string; distributionId?: string | undefined; invalidateOnDelete?: boolean | undefined; imageSigning?: "none" | "url" | "cookies" | undefined; urlExpiry?: number | undefined; cookieExpiry?: number | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; includeRegionInPath?: boolean | undefined; requireSignedAccess?: boolean | undefined; }>>; export type CloudFrontConfig = z.infer; export declare const SKILL_SYNC_MIN_INTERVAL_MINUTES = 5; export declare const SKILL_SYNC_MAX_INTERVAL_MINUTES: number; export declare const SKILL_SYNC_DEFAULT_DISCOVERY_DEPTH = 2; export declare const SKILL_SYNC_MAX_DISCOVERY_DEPTH = 10; export declare const skillSyncGitHubSourceSchema: z.ZodEffects, string, string>, string, string>, string, string>, string, string>, string, string>>; paths: z.ZodArray, string, string>, string, string>, string, string>, string, string>, "many">; skillDiscoveryDepth: z.ZodOptional; credentialKey: z.ZodOptional; token: z.ZodOptional; tenantId: z.ZodOptional, string, string>>; }, "strip", z.ZodTypeAny, { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }, { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }>, { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }, { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }>; export declare const skillSyncConfigSchema: z.ZodOptional; intervalMinutes: z.ZodDefault; runOnStartup: z.ZodDefault; sources: z.ZodDefault, string, string>, string, string>, string, string>, string, string>, string, string>>; paths: z.ZodArray, string, string>, string, string>, string, string>, string, string>, "many">; skillDiscoveryDepth: z.ZodOptional; credentialKey: z.ZodOptional; token: z.ZodOptional; tenantId: z.ZodOptional, string, string>>; }, "strip", z.ZodTypeAny, { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }, { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }>, { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }, { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { enabled: boolean; intervalMinutes: number; runOnStartup: boolean; sources: { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[]; }, { enabled?: boolean | undefined; intervalMinutes?: number | undefined; runOnStartup?: boolean | undefined; sources?: { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[] | undefined; }>, { enabled: boolean; intervalMinutes: number; runOnStartup: boolean; sources: { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[]; }, { enabled?: boolean | undefined; intervalMinutes?: number | undefined; runOnStartup?: boolean | undefined; sources?: { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[] | undefined; }>>; }, "strip", z.ZodTypeAny, { github?: { enabled: boolean; intervalMinutes: number; runOnStartup: boolean; sources: { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[]; } | undefined; }, { github?: { enabled?: boolean | undefined; intervalMinutes?: number | undefined; runOnStartup?: boolean | undefined; sources?: { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[] | undefined; } | undefined; }>>; export type SkillSyncConfig = z.infer; export type SkillSyncGitHubSourceConfig = z.infer; type SchemaShape = T extends z.ZodObject ? U : never; type DefaultValue = T extends z.ZodDefault ? ReturnType : undefined; type ExtractDefaults = { [P in keyof T]: DefaultValue; }; export type SchemaDefaults = ExtractDefaults>; export type TConfigDefaults = SchemaDefaults; export declare function getSchemaDefaults(schema: Schema): ExtractDefaults>; export declare const modelConfigSchema: z.ZodUnion<[z.ZodObject<{ deploymentName: z.ZodOptional; version: z.ZodOptional; assistants: z.ZodOptional; }, "strip", z.ZodTypeAny, { assistants?: boolean | undefined; version?: string | undefined; deploymentName?: string | undefined; }, { assistants?: boolean | undefined; version?: string | undefined; deploymentName?: string | undefined; }>, z.ZodBoolean]>; export type TAzureModelConfig = z.infer; export declare const azureBaseSchema: z.ZodObject<{ apiKey: z.ZodString; serverless: z.ZodOptional; instanceName: z.ZodOptional; deploymentName: z.ZodOptional; assistants: z.ZodOptional; addParams: z.ZodOptional, z.ZodTypeDef, Record>>; dropParams: z.ZodOptional>; version: z.ZodOptional; baseURL: z.ZodOptional; additionalHeaders: z.ZodOptional>; }, "strip", z.ZodTypeAny, { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; }, { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; }>; export type TAzureBaseSchema = z.infer; export declare const azureGroupSchema: z.ZodIntersection; version: z.ZodOptional; assistants: z.ZodOptional; }, "strip", z.ZodTypeAny, { assistants?: boolean | undefined; version?: string | undefined; deploymentName?: string | undefined; }, { assistants?: boolean | undefined; version?: string | undefined; deploymentName?: string | undefined; }>, z.ZodBoolean]>>; }, "strip", z.ZodTypeAny, { group: string; models: Record; }, { group: string; models: Record; }>, z.ZodObject<{ apiKey: z.ZodString; serverless: z.ZodOptional; instanceName: z.ZodOptional; deploymentName: z.ZodOptional; assistants: z.ZodOptional; addParams: z.ZodOptional, z.ZodTypeDef, Record>>; dropParams: z.ZodOptional>; version: z.ZodOptional; baseURL: z.ZodOptional; additionalHeaders: z.ZodOptional>; }, "strip", z.ZodTypeAny, { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; }, { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; }>>; export declare const azureGroupConfigsSchema: z.ZodArray; version: z.ZodOptional; assistants: z.ZodOptional; }, "strip", z.ZodTypeAny, { assistants?: boolean | undefined; version?: string | undefined; deploymentName?: string | undefined; }, { assistants?: boolean | undefined; version?: string | undefined; deploymentName?: string | undefined; }>, z.ZodBoolean]>>; }, "strip", z.ZodTypeAny, { group: string; models: Record; }, { group: string; models: Record; }>, z.ZodObject<{ apiKey: z.ZodString; serverless: z.ZodOptional; instanceName: z.ZodOptional; deploymentName: z.ZodOptional; assistants: z.ZodOptional; addParams: z.ZodOptional, z.ZodTypeDef, Record>>; dropParams: z.ZodOptional>; version: z.ZodOptional; baseURL: z.ZodOptional; additionalHeaders: z.ZodOptional>; }, "strip", z.ZodTypeAny, { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; }, { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; }>>, "many">; export type TAzureGroup = z.infer; export type TAzureGroups = z.infer; export type TAzureModelMapSchema = { group: string; }; export type TAzureModelGroupMap = Record; export type TAzureGroupMap = Record; }) | undefined>; export type TValidatedAzureConfig = { modelNames: string[]; groupMap: TAzureGroupMap; assistantModels?: string[]; assistantGroups?: string[]; modelGroupMap: TAzureModelGroupMap; }; export type TAzureConfigValidationResult = TValidatedAzureConfig & { isValid: boolean; errors: (ZodError | string)[]; }; export declare enum Capabilities { code_interpreter = "code_interpreter", image_vision = "image_vision", retrieval = "retrieval", actions = "actions", tools = "tools" } export declare enum AgentCapabilities { hide_sequential_outputs = "hide_sequential_outputs", programmatic_tools = "programmatic_tools", end_after_tools = "end_after_tools", deferred_tools = "deferred_tools", execute_code = "execute_code", stateful_code_sessions = "stateful_code_sessions", file_search = "file_search", web_search = "web_search", artifacts = "artifacts", subagents = "subagents", actions = "actions", context = "context", skills = "skills", memory = "memory", ask_user_question = "ask_user_question", tools = "tools", chain = "chain", ocr = "ocr", run_in_background = "run_in_background", tool_intents = "tool_intents" } export declare const defaultAssistantsVersion: { assistants: number; azureAssistants: number; }; export declare const baseEndpointSchema: z.ZodObject<{ /** * Milliseconds between visible streamed chunks. Agents SDK-backed * providers (openAI, custom, anthropic, google, bedrock, agents) smooth * adaptively at 25ms by default; set to override the cadence, 0 to * disable smoothing. Legacy Assistants and Ollama paths instead sleep * this long per provider chunk (default 1ms), with no adaptive smoothing. */ streamRate: z.ZodOptional; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; }, "strip", z.ZodTypeAny, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; }, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; }>; export type TBaseEndpoint = z.infer; export declare const bedrockGuardrailConfigSchema: z.ZodObject<{ guardrailIdentifier: z.ZodString; guardrailVersion: z.ZodString; trace: z.ZodOptional>; streamProcessingMode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; }, { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; }>; export declare const bedrockEndpointSchema: z.ZodObject<{ /** * Milliseconds between visible streamed chunks. Agents SDK-backed * providers (openAI, custom, anthropic, google, bedrock, agents) smooth * adaptively at 25ms by default; set to override the cadence, 0 to * disable smoothing. Legacy Assistants and Ollama paths instead sleep * this long per provider chunk (default 1ms), with no adaptive smoothing. */ streamRate: z.ZodOptional; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; } & { availableRegions: z.ZodOptional>; models: z.ZodOptional>; guardrailConfig: z.ZodOptional>; streamProcessingMode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; }, { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; }>>; inferenceProfiles: z.ZodOptional>; }, "strip", z.ZodTypeAny, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; }, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; }>; export declare const assistantEndpointSchema: z.ZodObject<{ streamRate: z.ZodOptional; baseURL: z.ZodOptional; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; activityLabel: z.ZodOptional; activityModel: z.ZodOptional; activityEndpoint: z.ZodOptional; activityPrompt: z.ZodOptional; activityMaxPerRun: z.ZodOptional; activityCharLimit: z.ZodOptional; activityPhaseLabel: z.ZodOptional; activityPhaseModel: z.ZodOptional; activityPhaseEndpoint: z.ZodOptional; activityPhasePrompt: z.ZodOptional; activityPhaseMaxPerRun: z.ZodOptional; reasoningLabel: z.ZodOptional; reasoningLabelModel: z.ZodOptional; reasoningLabelEndpoint: z.ZodOptional; reasoningLabelPrompt: z.ZodOptional; reasoningLabelMinChars: z.ZodOptional; reasoningLabelUpdateChars: z.ZodOptional; reasoningLabelUpdateIntervalMs: z.ZodOptional; reasoningLabelMaxPerRun: z.ZodOptional; maxToolResultChars: z.ZodOptional; } & { disableBuilder: z.ZodOptional; pollIntervalMs: z.ZodOptional; timeoutMs: z.ZodOptional; version: z.ZodDefault>; supportedIds: z.ZodOptional>; excludedIds: z.ZodOptional>; privateAssistants: z.ZodOptional; retrievalModels: z.ZodDefault>>; capabilities: z.ZodDefault, "many">>>; apiKey: z.ZodOptional; apiKeyPreview: z.ZodOptional; models: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; }, { name: string; description?: string | undefined; }>]>, "many">; fetch: z.ZodOptional; userIdQuery: z.ZodOptional; }, "strip", z.ZodTypeAny, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }>>; headers: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string | number; capabilities: Capabilities[]; retrievalModels: string[]; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; }, { version?: string | number | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; capabilities?: Capabilities[] | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; retrievalModels?: string[] | undefined; }>; export type TAssistantEndpoint = z.infer; export declare const defaultAgentCapabilities: AgentCapabilities[]; export declare function isRemoteOidcUrlAllowed(value: string): boolean; /** * Permission mode applied to a tool call. Mirrors `@librechat/agents`'s * `ToolPolicyMode` 1:1. * * - `default`: ask the user about anything not explicitly allowed (default-on). * - `dontAsk`: deny anything not explicitly allowed (headless / API-key flows). * - `bypass`: auto-approve everything that isn't explicitly denied * (the user-facing "stop asking me" toggle). * * Subagents inherit the parent's mode; this is enforced by the SDK and not * overridable per-subagent. */ export declare const toolApprovalModeSchema: z.ZodEnum<["default", "dontAsk", "bypass"]>; export type ToolApprovalMode = z.infer; /** * Per-endpoint tool-approval policy. * * Shape mirrors `@librechat/agents`'s `ToolPolicyConfig` so the host can map it * directly into `createToolPolicyHook(config)`. The SDK does the evaluation * (`deny → ask → allow → bypass → dontAsk → fallthrough(ask)`); this config * just describes the surface. * * Conventions: * - All list entries are matched as globs (`*`). Use `mcp:server:*` to scope * a rule to every tool from a single MCP server. * - `deny` always wins, including under `bypass`. * - `enabled: false` is a LibreChat-only kill switch that disables the entire * HITL machinery for this endpoint (no checkpointer, no hooks, no prompts). * This is admin-level; users toggle prompting via `mode: 'bypass'` instead. */ /** * A programmatic tool-approval hook loaded from a module at startup. * * The referenced module's default export must be a builder * `(options?) => ToolApprovalHookFactory` (see `@librechat/api`'s `registerToolApprovalHook`). * Hooks compose with the static `allow`/`deny`/`ask` policy above and can only TIGHTEN it * (the SDK folds decisions `deny → ask → allow`). This is admin-level config — the module is * dynamically imported and executed in-process, so only reference trusted code. */ export declare const toolApprovalHookConfigSchema: z.ZodObject<{ /** * Module specifier to import: a bare package name (e.g. `@acme/approval-hooks`) or a path — * absolute, or relative to the app root. Its default export is the hook builder. */ module: z.ZodString; /** Optional regex matched against the tool name; omit to run for every tool. */ matcher: z.ZodOptional; /** Static options forwarded to the module's builder; the hook's own per-call config. */ options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { module: string; options?: Record | undefined; matcher?: string | undefined; }, { module: string; options?: Record | undefined; matcher?: string | undefined; }>; export type TToolApprovalHookConfig = z.infer; export declare const toolApprovalPolicySchema: z.ZodOptional; mode: z.ZodOptional>; allow: z.ZodOptional>; deny: z.ZodOptional>; ask: z.ZodOptional>; /** Optional reason template surfaced in the prompt; `{tool}` is interpolated. */ reason: z.ZodOptional; /** * Programmatic policy hooks loaded from modules at startup. They layer on top of the * static lists above for dynamic, context-aware decisions the lists can't express * (per-args, per-agent, per-user). See {@link toolApprovalHookConfigSchema}. * * BASE-CONFIG ONLY: hooks are imported + registered once, process-wide, at server * startup — they are NOT reloaded from per-role/user/tenant admin overrides. Encode * per-user/tenant behavior INSIDE the hook (via its runtime context), not by varying the * module list per override. Honored only when `enabled` is true. */ hooks: z.ZodOptional; /** Static options forwarded to the module's builder; the hook's own per-call config. */ options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { module: string; options?: Record | undefined; matcher?: string | undefined; }, { module: string; options?: Record | undefined; matcher?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; }, { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; }>>; export type TToolApprovalPolicy = z.infer; /** * Durable checkpointer backing human-in-the-loop resume. * * When `toolApproval.enabled` is true, a run that pauses for review suspends its * LangGraph state to a checkpoint; resuming rebuilds that state on a *fresh* `Run` * — possibly on a different replica, or the same worker after a restart. That only * works if the checkpoint outlives the original request, so HITL needs a durable * saver, not the SDK's process-local `MemorySaver` fallback. * * Defaults are zero-config: with `toolApproval.enabled` on and no `checkpointer` * block, LibreChat persists checkpoints to its primary MongoDB, so resume works * across replicas out of the box. * * - `type: 'mongo'` (default) — persist to the app database; survives restarts and * resolves on any replica. A TTL index reclaims runs that are never resolved. * - `type: 'memory'` — process-local only. Paused runs do NOT survive a restart and * can only be resolved on the originating worker. Single-process / dev only. */ export declare const checkpointerTypeSchema: z.ZodEnum<["mongo", "memory"]>; export type TCheckpointerType = z.infer; export declare const checkpointerSchema: z.ZodOptional>; /** * Approval window, in seconds: how long a paused run waits for a decision * before it is reclaimed. Drives both the Mongo TTL index on checkpoints and * the pending-action expiry, keeping the two layers in lockstep. Defaults to * 86400 (24h). Raise it for longer review windows. */ ttl: z.ZodOptional; /** Advanced: override the Mongo collection names used for checkpoints. */ checkpointCollectionName: z.ZodOptional; checkpointWritesCollectionName: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; }, { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; }>>; export type TCheckpointerConfig = z.infer; export declare function isSecureCodeEnvironmentControlURL(baseURL: string): boolean; export declare const codeEnvironmentPermissionDecisionSchema: z.ZodEnum<["allow", "ask", "deny"]>; export type CodeEnvironmentPermissionDecision = z.infer; /** Existing attached commands used a fixed 30-second execution budget. */ export declare const CODE_ENVIRONMENT_COMMAND_TIMEOUT_DEFAULT_MS = 30000; /** Protocol-level ceiling; deployments may only lower this value. */ export declare const CODE_ENVIRONMENT_COMMAND_TIMEOUT_HARD_MAX_MS: number; /** * Typed user-tunable surface for one attached code environment. Omitted fields * remain fixed at LibreChat's safe baseline. Isolation, networking, mounts, * privileged execution, and secrets are deliberately not representable here. */ export declare const codeEnvironmentUserConfigSchema: z.ZodObject<{ permissions: z.ZodOptional, "many">; default: z.ZodDefault>>; }, "strict", z.ZodTypeAny, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>>; commandExecution: z.ZodOptional, "many">; default: z.ZodDefault>>; }, "strict", z.ZodTypeAny, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>>; }, "strict", z.ZodTypeAny, { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; }, { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; }>>; limits: z.ZodOptional; }, "strict", z.ZodTypeAny, { maxCommandTimeoutMs?: number | undefined; }, { maxCommandTimeoutMs?: number | undefined; }>>; }, "strict", z.ZodTypeAny, { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; }, { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; }>; export type CodeEnvironmentUserConfigSchema = z.infer; export declare const codeEnvironmentUserSettingsSchema: z.ZodObject<{ permissions: z.ZodOptional>; commandExecution: z.ZodOptional>; }, "strict", z.ZodTypeAny, { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; }, { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; }>>; }, "strict", z.ZodTypeAny, { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; }, { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; }>; export type CodeEnvironmentUserSettings = z.infer; export type CodeWorkerEnrollmentPolicy = NonNullable['statefulCodeSessions']>['principalWorkers']>; export declare const agentsEndpointSchema: z.ZodDefault; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; }, "baseURL"> & { recursionLimit: z.ZodOptional; disableBuilder: z.ZodDefault>; maxRecursionLimit: z.ZodOptional; /** Max cumulative bytes a single streamed tool call's arguments may reach before the run * aborts. Defaults to 64 KiB in the agents SDK; `0` disables the guard. */ maxToolCallArgBytes: z.ZodOptional; /** Max streamed chunk events per model generation before the run aborts. Off by default. */ maxDeltaEventsPerTurn: z.ZodOptional; /** Per-tool overrides of `maxToolCallArgBytes`, keyed by model-facing tool name; `0` * disables the guard for that tool only. Merged over LibreChat's shipped default of * `{ create_file: 131072 }`. */ maxToolCallArgBytesByTool: z.ZodOptional>; maxCitations: z.ZodDefault>; maxCitationsPerFile: z.ZodDefault>; minRelevanceScore: z.ZodDefault>; /** Maximum explicit subagents per agent (`agent_ids` and `graphs`); raised from * the shipped default of 10 for orchestration-heavy deployments, bounded by * `MAX_SUBAGENTS_CEILING`. */ maxSubagents: z.ZodDefault>; /** Run-scoped file access for explicitly opted-in subagent delegations. */ fileSharing: z.ZodOptional>; allowSiblingSharing: z.ZodDefault>; maxFiles: z.ZodDefault>; /** Aggregate disk budget for private output versions retained during a run. */ maxPrivateBytes: z.ZodDefault>; ttlMs: z.ZodDefault>; }, "strip", z.ZodTypeAny, { enabled: boolean; allowSiblingSharing: boolean; maxFiles: number; maxPrivateBytes: number; ttlMs: number; }, { enabled?: boolean | undefined; allowSiblingSharing?: boolean | undefined; maxFiles?: number | undefined; maxPrivateBytes?: number | undefined; ttlMs?: number | undefined; }>>; /** Maximum concurrent Code API uploads per route and authenticated principal. */ codeApiUploadConcurrency: z.ZodDefault>; /** Maximum wall-clock time spent waiting on Code API rate limits per operation. */ codeApiMaxRetryWaitMs: z.ZodDefault>; allowedProviders: z.ZodOptional]>, "many">>; capabilities: z.ZodDefault, "many">>>; /** Controls which workspace-sharing scopes users may select for stateful code sessions. * Omit this block to preserve the legacy behavior of allowing every scope. */ statefulCodeSessions: z.ZodOptional, "many">; /** Server-only personal worker enrollment policy. Effective principal * policy may tighten, but never raise, the deployment ceiling. */ principalWorkers: z.ZodOptional; /** Defaults to five. Zero disables enrollment; existing machines remain usable. */ maxPerUser: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; maxPerUser?: number | undefined; }, { enabled?: boolean | undefined; maxPerUser?: number | undefined; }>>; /** Operator-managed execution environments. Attached entries route to a * Code API deployment backed by an outbound librechat-code worker. */ environments: z.ZodOptional; baseURL: z.ZodEffects; default: z.ZodOptional; /** Server-only outbound worker route. Removed from public config. */ workerId: z.ZodOptional; /** Distinguishes operator policy from a principal-authorized * environment merged into request-scoped server config. */ owner: z.ZodDefault>>; /** Administrator-controlled user-tunable settings. Only fields * represented here may be changed by a principal. */ configSchema: z.ZodOptional, "many">; default: z.ZodDefault>>; }, "strict", z.ZodTypeAny, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>>; commandExecution: z.ZodOptional, "many">; default: z.ZodDefault>>; }, "strict", z.ZodTypeAny, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>>; }, "strict", z.ZodTypeAny, { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; }, { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; }>>; limits: z.ZodOptional; }, "strict", z.ZodTypeAny, { maxCommandTimeoutMs?: number | undefined; }, { maxCommandTimeoutMs?: number | undefined; }>>; }, "strict", z.ZodTypeAny, { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; }, { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; }>>; /** Request-scoped effective settings for a principal-owned environment. * Deployment config should define defaults through configSchema instead. */ settings: z.ZodOptional>; commandExecution: z.ZodOptional>; }, "strict", z.ZodTypeAny, { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; }, { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; }>>; }, "strict", z.ZodTypeAny, { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; }, { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; }>>; /** Server-only enrollment metadata. `tokenEnv` names an * environment variable and never contains the token itself. */ pairing: z.ZodOptional; allowPrincipalWorkers: z.ZodDefault>; tokenEnv: z.ZodString; }, "strip", z.ZodTypeAny, { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; }, { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; }>, { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; }, { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }, { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }[] | undefined; }, { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }[] | undefined; }>, { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }[] | undefined; }, { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }[] | undefined; }>>; /** Optional trusted origin for in-process agent event delivery. */ eventDriven: z.ZodOptional; }, "strip", z.ZodTypeAny, { selfUrl?: string | undefined; }, { selfUrl?: string | undefined; }>>; /** Conversational background-task delivery policy. Automatic completion wakeups are * enabled unless an administrator explicitly restores poll-only behavior. */ backgroundTasks: z.ZodOptional>; /** Cooperative cancellation for process-local ordinary tools. Off * by default so existing deployments opt into the new control. */ ordinaryToolCancellation: z.ZodDefault>; }, "strip", z.ZodTypeAny, { completionWakeups: boolean; ordinaryToolCancellation: boolean; }, { completionWakeups?: boolean | undefined; ordinaryToolCancellation?: boolean | undefined; }>>; skills: z.ZodOptional; }, "strip", z.ZodTypeAny, { maxCatalogSkills?: number | undefined; }, { maxCatalogSkills?: number | undefined; }>>; managementApi: z.ZodOptional; issuer: z.ZodOptional>; audience: z.ZodOptional; jwksUri: z.ZodOptional>; }, "strict", z.ZodTypeAny, { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }, { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }>, { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }, { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }>; clients: z.ZodDefault; userId: z.ZodEffects; tenantId: z.ZodEffects; enabled: z.ZodDefault; }, "strict", z.ZodTypeAny, { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }, { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; }, { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; }>, { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; }, { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { auth?: { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; } | undefined; }, { auth?: { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; } | undefined; }>>; remoteApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled: boolean; }, { enabled?: boolean | undefined; }>>; oidc: z.ZodOptional; issuer: z.ZodOptional>; audience: z.ZodOptional; jwksUri: z.ZodOptional>; } & { scope: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; }, { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; }>, { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; }, { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { oidc?: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled: boolean; } | undefined; }, { oidc?: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled?: boolean | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { auth?: { oidc?: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled: boolean; } | undefined; } | undefined; }, { auth?: { oidc?: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled?: boolean | undefined; } | undefined; } | undefined; }>>; /** Human-in-the-loop tool approval policy. Off by default. */ toolApproval: z.ZodOptional; mode: z.ZodOptional>; allow: z.ZodOptional>; deny: z.ZodOptional>; ask: z.ZodOptional>; /** Optional reason template surfaced in the prompt; `{tool}` is interpolated. */ reason: z.ZodOptional; /** * Programmatic policy hooks loaded from modules at startup. They layer on top of the * static lists above for dynamic, context-aware decisions the lists can't express * (per-args, per-agent, per-user). See {@link toolApprovalHookConfigSchema}. * * BASE-CONFIG ONLY: hooks are imported + registered once, process-wide, at server * startup — they are NOT reloaded from per-role/user/tenant admin overrides. Encode * per-user/tenant behavior INSIDE the hook (via its runtime context), not by varying the * module list per override. Honored only when `enabled` is true. */ hooks: z.ZodOptional; /** Static options forwarded to the module's builder; the hook's own per-call config. */ options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { module: string; options?: Record | undefined; matcher?: string | undefined; }, { module: string; options?: Record | undefined; matcher?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; }, { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; }>>; /** Durable checkpointer backing tool-approval and Ask User resume. * Defaults to the app's MongoDB when either flow needs it. */ checkpointer: z.ZodOptional>; /** * Approval window, in seconds: how long a paused run waits for a decision * before it is reclaimed. Drives both the Mongo TTL index on checkpoints and * the pending-action expiry, keeping the two layers in lockstep. Defaults to * 86400 (24h). Raise it for longer review windows. */ ttl: z.ZodOptional; /** Advanced: override the Mongo collection names used for checkpoints. */ checkpointCollectionName: z.ZodOptional; checkpointWritesCollectionName: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; }, { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { disableBuilder: boolean; maxCitations: number; maxCitationsPerFile: number; minRelevanceScore: number; maxSubagents: number; codeApiUploadConcurrency: number; codeApiMaxRetryWaitMs: number; capabilities: AgentCapabilities[]; skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; fileSharing?: { enabled: boolean; allowSiblingSharing: boolean; maxFiles: number; maxPrivateBytes: number; ttlMs: number; } | undefined; allowedProviders?: string[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups: boolean; ordinaryToolCancellation: boolean; } | undefined; managementApi?: { auth?: { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled: boolean; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; }, { skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; disableBuilder?: boolean | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; maxCitations?: number | undefined; maxCitationsPerFile?: number | undefined; minRelevanceScore?: number | undefined; maxSubagents?: number | undefined; fileSharing?: { enabled?: boolean | undefined; allowSiblingSharing?: boolean | undefined; maxFiles?: number | undefined; maxPrivateBytes?: number | undefined; ttlMs?: number | undefined; } | undefined; codeApiUploadConcurrency?: number | undefined; codeApiMaxRetryWaitMs?: number | undefined; allowedProviders?: string[] | undefined; capabilities?: AgentCapabilities[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups?: boolean | undefined; ordinaryToolCancellation?: boolean | undefined; } | undefined; managementApi?: { auth?: { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled?: boolean | undefined; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; }>>; export type TAgentsEndpoint = z.infer; export declare const paramDefinitionSchema: z.ZodObject<{ key: z.ZodString; description: z.ZodOptional; type: z.ZodOptional>; default: z.ZodOptional]>>; showLabel: z.ZodOptional; showDefault: z.ZodOptional; options: z.ZodOptional>; range: z.ZodOptional; positiveMin: z.ZodOptional; }, "strip", z.ZodTypeAny, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }>, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }>>; enumMappings: z.ZodOptional>>; component: z.ZodOptional>; optionType: z.ZodOptional>; columnSpan: z.ZodOptional; columns: z.ZodOptional; label: z.ZodOptional; placeholder: z.ZodOptional; labelCode: z.ZodOptional; placeholderCode: z.ZodOptional; descriptionCode: z.ZodOptional; minText: z.ZodOptional; maxText: z.ZodOptional; minTags: z.ZodOptional; maxTags: z.ZodOptional; includeInput: z.ZodOptional; descriptionSide: z.ZodOptional>; searchPlaceholder: z.ZodOptional; selectPlaceholder: z.ZodOptional; searchPlaceholderCode: z.ZodOptional; selectPlaceholderCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }, { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }>; export declare const endpointSchema: z.ZodObject<{ streamRate: z.ZodOptional; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; activityLabel: z.ZodOptional; activityModel: z.ZodOptional; activityEndpoint: z.ZodOptional; activityPrompt: z.ZodOptional; activityMaxPerRun: z.ZodOptional; activityCharLimit: z.ZodOptional; activityPhaseLabel: z.ZodOptional; activityPhaseModel: z.ZodOptional; activityPhaseEndpoint: z.ZodOptional; activityPhasePrompt: z.ZodOptional; activityPhaseMaxPerRun: z.ZodOptional; reasoningLabel: z.ZodOptional; reasoningLabelModel: z.ZodOptional; reasoningLabelEndpoint: z.ZodOptional; reasoningLabelPrompt: z.ZodOptional; reasoningLabelMinChars: z.ZodOptional; reasoningLabelUpdateChars: z.ZodOptional; reasoningLabelUpdateIntervalMs: z.ZodOptional; reasoningLabelMaxPerRun: z.ZodOptional; maxToolResultChars: z.ZodOptional; } & { name: z.ZodEffects; apiKey: z.ZodString; apiKeyPreview: z.ZodOptional; baseURL: z.ZodString; models: z.ZodObject<{ default: z.ZodArray; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; }, { name: string; description?: string | undefined; }>]>, "many">; fetch: z.ZodOptional; userIdQuery: z.ZodOptional; }, "strip", z.ZodTypeAny, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }>; iconURL: z.ZodOptional; modelDisplayLabel: z.ZodOptional; provider: z.ZodOptional>; headers: z.ZodOptional>; addParams: z.ZodOptional, z.ZodTypeDef, Record>>; dropParams: z.ZodOptional>; customParams: z.ZodOptional; reasoningFormat: z.ZodOptional>; reasoningKey: z.ZodOptional>; /** Replays `reasoning_content` within a run's tool-call turns (e.g. Xiaomi MiMo, Kimi). */ includeReasoningContent: z.ZodOptional; /** Also reconstructs `reasoning_content` from persisted history across turns (implies `includeReasoningContent`). */ includeReasoningHistory: z.ZodOptional; paramDefinitions: z.ZodOptional; type: z.ZodOptional>; default: z.ZodOptional]>>; showLabel: z.ZodOptional; showDefault: z.ZodOptional; options: z.ZodOptional>; range: z.ZodOptional; positiveMin: z.ZodOptional; }, "strip", z.ZodTypeAny, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }>, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }>>; enumMappings: z.ZodOptional>>; component: z.ZodOptional>; optionType: z.ZodOptional>; columnSpan: z.ZodOptional; columns: z.ZodOptional; label: z.ZodOptional; placeholder: z.ZodOptional; labelCode: z.ZodOptional; placeholderCode: z.ZodOptional; descriptionCode: z.ZodOptional; minText: z.ZodOptional; maxText: z.ZodOptional; minTags: z.ZodOptional; maxTags: z.ZodOptional; includeInput: z.ZodOptional; descriptionSide: z.ZodOptional>; searchPlaceholder: z.ZodOptional; selectPlaceholder: z.ZodOptional; searchPlaceholderCode: z.ZodOptional; selectPlaceholderCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }, { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { defaultParamsEndpoint: string; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; }, { defaultParamsEndpoint?: string | undefined; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; }>>; directEndpoint: z.ZodOptional; titleMessageRole: z.ZodOptional>; tokenConfig: z.ZodOptional; cacheWrite: z.ZodOptional; }, "strip", z.ZodTypeAny, { context: number; prompt: number; completion: number; cacheRead?: number | undefined; cacheWrite?: number | undefined; }, { context: number; prompt: number; completion: number; cacheRead?: number | undefined; cacheWrite?: number | undefined; }>>>; }, "strip", z.ZodTypeAny, { name: string; baseURL: string; apiKey: string; models: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKeyPreview?: string | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint: string; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }, { name: string; baseURL: string; apiKey: string; models: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKeyPreview?: string | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint?: string | undefined; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }>; export type TEndpoint = z.infer; export declare const azureEndpointSchema: z.ZodIntersection; version: z.ZodOptional; assistants: z.ZodOptional; }, "strip", z.ZodTypeAny, { assistants?: boolean | undefined; version?: string | undefined; deploymentName?: string | undefined; }, { assistants?: boolean | undefined; version?: string | undefined; deploymentName?: string | undefined; }>, z.ZodBoolean]>>; }, "strip", z.ZodTypeAny, { group: string; models: Record; }, { group: string; models: Record; }>, z.ZodObject<{ apiKey: z.ZodString; serverless: z.ZodOptional; instanceName: z.ZodOptional; deploymentName: z.ZodOptional; assistants: z.ZodOptional; addParams: z.ZodOptional, z.ZodTypeDef, Record>>; dropParams: z.ZodOptional>; version: z.ZodOptional; baseURL: z.ZodOptional; additionalHeaders: z.ZodOptional>; }, "strip", z.ZodTypeAny, { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; }, { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; }>>, "many">; assistants: z.ZodOptional; }, "strip", z.ZodTypeAny, { groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; }, { groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; }>, z.ZodObject<{ streamRate: z.ZodOptional>; titlePrompt: z.ZodOptional>; titleModel: z.ZodOptional>; titleConvo: z.ZodOptional>; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>>; titlePromptTemplate: z.ZodOptional>; titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>>; activityLabel: z.ZodOptional>; activityModel: z.ZodOptional>; activityEndpoint: z.ZodOptional>; activityPrompt: z.ZodOptional>; activityMaxPerRun: z.ZodOptional>; activityCharLimit: z.ZodOptional>; activityPhaseLabel: z.ZodOptional>; activityPhaseModel: z.ZodOptional>; activityPhaseEndpoint: z.ZodOptional>; activityPhasePrompt: z.ZodOptional>; activityPhaseMaxPerRun: z.ZodOptional>; reasoningLabel: z.ZodOptional>; reasoningLabelModel: z.ZodOptional>; reasoningLabelEndpoint: z.ZodOptional>; reasoningLabelPrompt: z.ZodOptional>; reasoningLabelMinChars: z.ZodOptional>; reasoningLabelUpdateChars: z.ZodOptional>; reasoningLabelUpdateIntervalMs: z.ZodOptional>; reasoningLabelMaxPerRun: z.ZodOptional>; }, "strip", z.ZodTypeAny, { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }, { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }>>; export type TAzureConfig = Omit, 'groups'> & TAzureConfigValidationResult; /** * Vertex AI model configuration - similar to Azure model config * Allows specifying deployment name for each model */ export declare const vertexModelConfigSchema: z.ZodUnion<[z.ZodObject<{ /** The actual model ID/deployment name used by Vertex AI API */ deploymentName: z.ZodOptional; }, "strip", z.ZodTypeAny, { deploymentName?: string | undefined; }, { deploymentName?: string | undefined; }>, z.ZodBoolean]>; export type TVertexModelConfig = z.infer; /** * Vertex AI configuration schema for Anthropic models served via Google Cloud Vertex AI. * Similar to Azure configuration, this allows running Anthropic models through Google Cloud. */ export declare const vertexAISchema: z.ZodObject<{ /** Enable Vertex AI mode for Anthropic (defaults to true when vertex config is present) */ enabled: z.ZodOptional; /** Google Cloud Project ID (optional - auto-detected from service key file if not provided) */ projectId: z.ZodOptional; /** Vertex AI region (e.g., 'us-east5', 'europe-west1') */ region: z.ZodDefault; /** Optional: Path to service account key file */ serviceKeyFile: z.ZodOptional; /** Optional: Default deployment name for all models (can be overridden per model) */ deploymentName: z.ZodOptional; /** Optional: Available models - can be string array or object with deploymentName mapping */ models: z.ZodOptional, z.ZodRecord; }, "strip", z.ZodTypeAny, { deploymentName?: string | undefined; }, { deploymentName?: string | undefined; }>, z.ZodBoolean]>>]>>; }, "strip", z.ZodTypeAny, { region: string; enabled?: boolean | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; }, { enabled?: boolean | undefined; region?: string | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; }>; export type TVertexAISchema = z.infer; export type TVertexModelMap = Record; /** * Validated Vertex AI configuration result */ export type TVertexAIConfig = TVertexAISchema & { isValid: boolean; errors: string[]; modelNames?: string[]; modelDeploymentMap?: TVertexModelMap; }; /** * Anthropic endpoint schema with optional Vertex AI configuration. * Extends baseEndpointSchema with Vertex AI support. */ export declare const anthropicEndpointSchema: z.ZodObject<{ /** * Milliseconds between visible streamed chunks. Agents SDK-backed * providers (openAI, custom, anthropic, google, bedrock, agents) smooth * adaptively at 25ms by default; set to override the cadence, 0 to * disable smoothing. Legacy Assistants and Ollama paths instead sleep * this long per provider chunk (default 1ms), with no adaptive smoothing. */ streamRate: z.ZodOptional; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; } & { /** Vertex AI configuration for running Anthropic models on Google Cloud */ vertex: z.ZodOptional; /** Google Cloud Project ID (optional - auto-detected from service key file if not provided) */ projectId: z.ZodOptional; /** Vertex AI region (e.g., 'us-east5', 'europe-west1') */ region: z.ZodDefault; /** Optional: Path to service account key file */ serviceKeyFile: z.ZodOptional; /** Optional: Default deployment name for all models (can be overridden per model) */ deploymentName: z.ZodOptional; /** Optional: Available models - can be string array or object with deploymentName mapping */ models: z.ZodOptional, z.ZodRecord; }, "strip", z.ZodTypeAny, { deploymentName?: string | undefined; }, { deploymentName?: string | undefined; }>, z.ZodBoolean]>>]>>; }, "strip", z.ZodTypeAny, { region: string; enabled?: boolean | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; }, { enabled?: boolean | undefined; region?: string | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; }>>; /** Optional: List of available models */ models: z.ZodOptional>; }, "strip", z.ZodTypeAny, { vertex?: { region: string; enabled?: boolean | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; }, { vertex?: { enabled?: boolean | undefined; region?: string | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; }>; export type TAnthropicEndpoint = z.infer; declare const ttsOpenaiSchema: z.ZodObject<{ url: z.ZodOptional; apiKey: z.ZodString; apiKeyPreview: z.ZodOptional; model: z.ZodString; voices: z.ZodArray; }, "strip", z.ZodTypeAny, { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; }, { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; }>; declare const ttsElevenLabsSchema: z.ZodObject<{ url: z.ZodOptional; websocketUrl: z.ZodOptional; apiKey: z.ZodString; apiKeyPreview: z.ZodOptional; model: z.ZodString; voices: z.ZodArray; voice_settings: z.ZodOptional; stability: z.ZodOptional; style: z.ZodOptional; use_speaker_boost: z.ZodOptional; }, "strip", z.ZodTypeAny, { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; }, { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; }>>; pronunciation_dictionary_locators: z.ZodOptional>; }, "strip", z.ZodTypeAny, { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; }, { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; }>; declare const ttsLocalaiSchema: z.ZodObject<{ url: z.ZodString; apiKey: z.ZodOptional; apiKeyPreview: z.ZodOptional; voices: z.ZodArray; backend: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; }, { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; }>; /** * The speech providers a schema actually configures. `allowedAddresses` is transport * policy rather than a provider, and a provider key present but empty configures * nothing. The speech services accept a schema only when exactly one survives here, so * the upload router reads availability from the same list and never routes audio to a * transcription that cannot run. */ export declare function listConfiguredSpeechProviders(schema?: Record | null): Array<[string, Record]>; /** Whether a speech schema names exactly one usable provider. */ export declare function isSpeechProviderConfigured(schema?: Record | null): boolean; export declare enum RateLimitPrefix { FILE_UPLOAD = "FILE_UPLOAD", IMPORT = "IMPORT", TTS = "TTS", STT = "STT" } export declare const rateLimitSchema: z.ZodObject<{ agentEvents: z.ZodOptional; userWindowInMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; }, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; }>>; fileUploads: z.ZodOptional; ipWindowInMinutes: z.ZodOptional; userMax: z.ZodOptional; userWindowInMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }>>; conversationsImport: z.ZodOptional; ipWindowInMinutes: z.ZodOptional; userMax: z.ZodOptional; userWindowInMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }>>; tts: z.ZodOptional; ipWindowInMinutes: z.ZodOptional; userMax: z.ZodOptional; userWindowInMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }>>; stt: z.ZodOptional; ipWindowInMinutes: z.ZodOptional; userMax: z.ZodOptional; userWindowInMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { tts?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; stt?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; agentEvents?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; } | undefined; fileUploads?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; conversationsImport?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; }, { tts?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; stt?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; agentEvents?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; } | undefined; fileUploads?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; conversationsImport?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; }>; export declare enum EImageOutputType { PNG = "png", WEBP = "webp", JPEG = "jpeg" } declare const termsOfServiceSchema: z.ZodObject<{ externalUrl: z.ZodOptional; openNewTab: z.ZodOptional; modalAcceptance: z.ZodOptional; modalTitle: z.ZodOptional; modalContent: z.ZodOptional]>>; }, "strip", z.ZodTypeAny, { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; }, { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; }>; export type TTermsOfService = z.infer; declare const localizedStringSchema: z.ZodUnion<[z.ZodString, z.ZodRecord]>; export type LocalizedString = z.infer; export declare const mcpRefreshDefaults: { toolsRefreshInterval: number; statusRefreshInterval: number; }; declare const mcpServersSchema: z.ZodOptional; statusRefreshInterval: z.ZodOptional; placeholder: z.ZodOptional; use: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; configureObo: z.ZodOptional; trustCheckbox: z.ZodOptional]>>; subLabel: z.ZodOptional]>>; }, "strip", z.ZodTypeAny, { label?: string | Record | undefined; subLabel?: string | Record | undefined; }, { label?: string | Record | undefined; subLabel?: string | Record | undefined; }>>; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; }, { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; }>>; export type TMcpServersConfig = z.infer; /** Values the trace viewer uses for any `interface.traceViewer` field left unset. */ export declare const traceViewerDefaults: { readonly enabled: false; readonly showInputOutput: false; readonly maxRecords: 1000; readonly maxContentLength: 50000; readonly requestsPerMinute: 30; readonly requestTimeoutMs: 10000; }; type TraceViewerLimitField = 'maxRecords' | 'maxContentLength' | 'requestsPerMinute' | 'requestTimeoutMs'; /** Inclusive bounds for the numeric `interface.traceViewer` fields. */ export declare const traceViewerLimits: Readonly>; declare const traceViewerSchema: z.ZodObject<{ /** Shows the conversation trace control for traces this deployment exported. */ enabled: z.ZodOptional; /** Returns observation input, output and metadata in the record inspector. */ showInputOutput: z.ZodOptional; /** Observations read from the tracing backend per request. */ maxRecords: z.ZodOptional; /** Characters kept from each input, output and metadata value before truncation. */ maxContentLength: z.ZodOptional; /** Trace reads one user may start per minute. */ requestsPerMinute: z.ZodOptional; /** Budget for each round trip to the tracing backend, in milliseconds. */ requestTimeoutMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; }, { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; }>; export type TTraceViewerConfig = z.infer; export type TResolvedTraceViewerConfig = { enabled: boolean; showInputOutput: boolean; } & Record; /** * Fills unset or invalid `interface.traceViewer` fields from * {@link traceViewerDefaults}. Admin config overrides reach runtime without * schema validation, so every consumer reads the section through this. */ export declare function resolveTraceViewerConfig(config?: Partial> | null): TResolvedTraceViewerConfig; export declare enum RetentionMode { ALL = "all", TEMPORARY = "temporary" } export declare const interfaceSchema: z.ZodDefault; openNewTab: z.ZodOptional; }, "strip", z.ZodTypeAny, { externalUrl?: string | undefined; openNewTab?: boolean | undefined; }, { externalUrl?: string | undefined; openNewTab?: boolean | undefined; }>>; termsOfService: z.ZodOptional; openNewTab: z.ZodOptional; modalAcceptance: z.ZodOptional; modalTitle: z.ZodOptional; modalContent: z.ZodOptional]>>; }, "strip", z.ZodTypeAny, { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; }, { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; }>>; customWelcome: z.ZodOptional; mcpServers: z.ZodOptional; statusRefreshInterval: z.ZodOptional; placeholder: z.ZodOptional; use: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; configureObo: z.ZodOptional; trustCheckbox: z.ZodOptional]>>; subLabel: z.ZodOptional]>>; }, "strip", z.ZodTypeAny, { label?: string | Record | undefined; subLabel?: string | Record | undefined; }, { label?: string | Record | undefined; subLabel?: string | Record | undefined; }>>; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; }, { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; }>>>; modelSelect: z.ZodOptional; parameters: z.ZodOptional; multiConvo: z.ZodOptional; bookmarks: z.ZodOptional; memories: z.ZodOptional; presets: z.ZodOptional; prompts: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }>]>>; agents: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }>]>>; temporaryChat: z.ZodOptional; temporaryChatRetention: z.ZodOptional; generalChatRetention: z.ZodOptional; autoSubmitFromUrl: z.ZodOptional; retentionMode: z.ZodDefault>; retainAgentFiles: z.ZodOptional; runCode: z.ZodOptional; webSearch: z.ZodOptional; contextUsage: z.ZodOptional; contextCost: z.ZodOptional; feedback: z.ZodOptional; currency: z.ZodOptional>; peoplePicker: z.ZodOptional; groups: z.ZodOptional; roles: z.ZodOptional; }, "strip", z.ZodTypeAny, { users?: boolean | undefined; groups?: boolean | undefined; roles?: boolean | undefined; }, { users?: boolean | undefined; groups?: boolean | undefined; roles?: boolean | undefined; }>>; marketplace: z.ZodOptional; }, "strip", z.ZodTypeAny, { use?: boolean | undefined; }, { use?: boolean | undefined; }>>; fileSearch: z.ZodOptional; fileCitations: z.ZodOptional; traceViewer: z.ZodOptional; /** Returns observation input, output and metadata in the record inspector. */ showInputOutput: z.ZodOptional; /** Observations read from the tracing backend per request. */ maxRecords: z.ZodOptional; /** Characters kept from each input, output and metadata value before truncation. */ maxContentLength: z.ZodOptional; /** Trace reads one user may start per minute. */ requestsPerMinute: z.ZodOptional; /** Budget for each round trip to the tracing backend, in milliseconds. */ requestTimeoutMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; }, { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; }>>; /** Tool keys (and `'mcp'` or an MCP server name) pinned to the prompt bar by default */ defaultPinnedTools: z.ZodOptional>; buildInfo: z.ZodOptional; remoteAgents: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }>>; skills: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; defaultActiveOnShare: z.ZodOptional; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; defaultActiveOnShare?: boolean | undefined; }, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; defaultActiveOnShare?: boolean | undefined; }>]>>; sharedLinks: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; snapshotFiles: z.ZodOptional; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; share?: boolean | undefined; create?: boolean | undefined; snapshotFiles?: boolean | undefined; }, { public?: boolean | undefined; share?: boolean | undefined; create?: boolean | undefined; snapshotFiles?: boolean | undefined; }>]>>; schedules: z.ZodOptional; create: z.ZodOptional; maxPerUser: z.ZodOptional; minIntervalMinutes: z.ZodOptional; autoDisableAfterFailures: z.ZodOptional; admissionConcurrency: z.ZodOptional; fireConcurrency: z.ZodOptional; mcpPreflightConcurrency: z.ZodOptional; mcpPreflightTimeoutMs: z.ZodOptional; /** Refuse schedules that are not filed under a chat project. Enforced on * create/update AND at every fire, so raising it later stops schedules * that predate the policy instead of grandfathering them. */ requireProject: z.ZodOptional; /** Pins every scheduled run to ONE chat project, ignoring any client * choice. Implies `requireProject`. The project must belong to the * schedule's owner, so a deployment-wide value only makes sense with a * per-user/per-role config override. */ projectId: z.ZodOptional; }, "strip", z.ZodTypeAny, { maxPerUser?: number | undefined; projectId?: string | undefined; use?: boolean | undefined; create?: boolean | undefined; minIntervalMinutes?: number | undefined; autoDisableAfterFailures?: number | undefined; admissionConcurrency?: number | undefined; fireConcurrency?: number | undefined; mcpPreflightConcurrency?: number | undefined; mcpPreflightTimeoutMs?: number | undefined; requireProject?: boolean | undefined; }, { maxPerUser?: number | undefined; projectId?: string | undefined; use?: boolean | undefined; create?: boolean | undefined; minIntervalMinutes?: number | undefined; autoDisableAfterFailures?: number | undefined; admissionConcurrency?: number | undefined; fireConcurrency?: number | undefined; mcpPreflightConcurrency?: number | undefined; mcpPreflightTimeoutMs?: number | undefined; requireProject?: boolean | undefined; }>]>>; }, "strip", z.ZodTypeAny, { retentionMode: RetentionMode; agents?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; skills?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; defaultActiveOnShare?: boolean | undefined; } | undefined; feedback?: boolean | undefined; prompts?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; memories?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; mcpServers?: { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; } | undefined; parameters?: boolean | undefined; privacyPolicy?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; } | undefined; termsOfService?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; } | undefined; customWelcome?: string | undefined; modelSelect?: boolean | undefined; multiConvo?: boolean | undefined; bookmarks?: boolean | undefined; presets?: boolean | undefined; temporaryChat?: boolean | undefined; temporaryChatRetention?: number | undefined; generalChatRetention?: number | undefined; autoSubmitFromUrl?: boolean | undefined; retainAgentFiles?: boolean | undefined; runCode?: boolean | undefined; contextUsage?: boolean | undefined; contextCost?: boolean | undefined; currency?: { code: string; rate: number; } | undefined; peoplePicker?: { users?: boolean | undefined; groups?: boolean | undefined; roles?: boolean | undefined; } | undefined; marketplace?: { use?: boolean | undefined; } | undefined; fileCitations?: boolean | undefined; traceViewer?: { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; } | undefined; defaultPinnedTools?: string[] | undefined; buildInfo?: boolean | undefined; remoteAgents?: { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; sharedLinks?: boolean | { public?: boolean | undefined; share?: boolean | undefined; create?: boolean | undefined; snapshotFiles?: boolean | undefined; } | undefined; schedules?: boolean | { maxPerUser?: number | undefined; projectId?: string | undefined; use?: boolean | undefined; create?: boolean | undefined; minIntervalMinutes?: number | undefined; autoDisableAfterFailures?: number | undefined; admissionConcurrency?: number | undefined; fireConcurrency?: number | undefined; mcpPreflightConcurrency?: number | undefined; mcpPreflightTimeoutMs?: number | undefined; requireProject?: boolean | undefined; } | undefined; }, { agents?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; skills?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; defaultActiveOnShare?: boolean | undefined; } | undefined; feedback?: boolean | undefined; prompts?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; memories?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; mcpServers?: { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; } | undefined; parameters?: boolean | undefined; privacyPolicy?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; } | undefined; termsOfService?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; } | undefined; customWelcome?: string | undefined; modelSelect?: boolean | undefined; multiConvo?: boolean | undefined; bookmarks?: boolean | undefined; presets?: boolean | undefined; temporaryChat?: boolean | undefined; temporaryChatRetention?: number | undefined; generalChatRetention?: number | undefined; autoSubmitFromUrl?: boolean | undefined; retentionMode?: RetentionMode | undefined; retainAgentFiles?: boolean | undefined; runCode?: boolean | undefined; contextUsage?: boolean | undefined; contextCost?: boolean | undefined; currency?: { code: string; rate: number; } | undefined; peoplePicker?: { users?: boolean | undefined; groups?: boolean | undefined; roles?: boolean | undefined; } | undefined; marketplace?: { use?: boolean | undefined; } | undefined; fileCitations?: boolean | undefined; traceViewer?: { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; } | undefined; defaultPinnedTools?: string[] | undefined; buildInfo?: boolean | undefined; remoteAgents?: { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; sharedLinks?: boolean | { public?: boolean | undefined; share?: boolean | undefined; create?: boolean | undefined; snapshotFiles?: boolean | undefined; } | undefined; schedules?: boolean | { maxPerUser?: number | undefined; projectId?: string | undefined; use?: boolean | undefined; create?: boolean | undefined; minIntervalMinutes?: number | undefined; autoDisableAfterFailures?: number | undefined; admissionConcurrency?: number | undefined; fireConcurrency?: number | undefined; mcpPreflightConcurrency?: number | undefined; mcpPreflightTimeoutMs?: number | undefined; requireProject?: boolean | undefined; } | undefined; }>>; export type TInterfaceConfig = z.infer; export type TBalanceConfig = z.infer; export type TTransactionsConfig = z.infer; export declare const turnstileOptionsSchema: z.ZodDefault; size: z.ZodDefault>; }, "strip", z.ZodTypeAny, { language: string; size: "compact" | "normal" | "flexible" | "invisible"; }, { language?: string | undefined; size?: "compact" | "normal" | "flexible" | "invisible" | undefined; }>>; export declare const turnstileSchema: z.ZodObject<{ siteKey: z.ZodString; options: z.ZodOptional; size: z.ZodDefault>; }, "strip", z.ZodTypeAny, { language: string; size: "compact" | "normal" | "flexible" | "invisible"; }, { language?: string | undefined; size?: "compact" | "normal" | "flexible" | "invisible" | undefined; }>>>; }, "strip", z.ZodTypeAny, { siteKey: string; options?: { language: string; size: "compact" | "normal" | "flexible" | "invisible"; } | undefined; }, { siteKey: string; options?: { language?: string | undefined; size?: "compact" | "normal" | "flexible" | "invisible" | undefined; } | undefined; }>; export type TTurnstileConfig = z.infer; export type TRumConfig = { provider: 'hyperdx'; enabled: boolean; url: string; serviceName: string; authMode: 'publicToken' | 'proxy'; publicToken?: string; tracePropagationTargets?: string[]; consoleCapture?: boolean; disableReplay?: boolean; advancedNetworkCapture?: boolean; sampleRate?: number; environment?: string; }; export type StartupConfigContext = 'share'; /** * Per-endpoint dropParams for the startup config. Most endpoints (e.g. `custom`) map a * provider name directly to its dropParams. `azureOpenAI` instead maps a provider name to * a per-model dropParams lookup, since each Azure group can drop different parameters. */ export type EndpointsDropParamsMap = Record>; export type TStartupConfig = { appTitle: string; socialLogins?: string[]; langfuseFanoutEnabled?: boolean; langfuseConnectionAccess?: boolean; insightsEnabled?: boolean; /** Manual context compaction, gated by the same `summarization.enabled` * switch that governs the automatic detour. */ compactionEnabled?: boolean; /** Conversation-owned code-environment decision protocol supported by the API. * Clients must not emit selection-less decisions unless this is advertised. */ codeEnvironmentDecisionVersion?: typeof CODE_ENVIRONMENT_DECISION_VERSION; interface?: TInterfaceConfig; turnstile?: TTurnstileConfig; balance?: TBalanceConfig; transactions?: TTransactionsConfig; discordLoginEnabled: boolean; facebookLoginEnabled: boolean; githubLoginEnabled: boolean; googleLoginEnabled: boolean; openidLoginEnabled: boolean; appleLoginEnabled: boolean; samlLoginEnabled: boolean; openidLabel: string; openidImageUrl: string; openidAutoRedirect: boolean; samlLabel: string; samlImageUrl: string; /** LDAP Auth Configuration */ ldap?: { /** LDAP enabled */ enabled: boolean; /** Whether LDAP uses username vs. email */ username?: boolean; }; serverDomain: string; emailLoginEnabled: boolean; registrationEnabled: boolean; socialLoginEnabled: boolean; passwordResetEnabled: boolean; emailEnabled: boolean; showBirthdayIcon: boolean; helpAndFaqURL: string; /** Admin panel link, only present for users with admin access */ adminPanelURL?: string; customFooter?: string; modelSpecs?: TSpecsConfig; modelDescriptions?: Record>; sharedLinksEnabled: boolean; publicSharedLinksEnabled: boolean; /** Whether shared links snapshot conversation files (gates the per-link "share files" checkbox). */ sharedLinksSnapshotFilesEnabled?: boolean; /** Effective default timing for when conversation titles become fetchable. * `immediate` = fetch in parallel with the active stream (default); * `final` = fetch only after the stream completes (legacy). */ titleGenerationTiming?: 'immediate' | 'final'; analyticsGtmId?: string; rum?: TRumConfig; bundlerURL?: string; staticBundlerURL?: string; sharePointFilePickerEnabled?: boolean; sharePointBaseUrl?: string; sharePointPickerGraphScope?: string; sharePointPickerSharePointScope?: string; openidReuseTokens?: boolean; allowAccountDeletion: boolean; minPasswordLength?: number; webSearch?: { searchProvider?: SearchProviders; scraperProvider?: ScraperProviders; rerankerType?: RerankerTypes; }; cloudFront?: { cookieRefresh?: { endpoint: string; domain: string; }; }; mcpServers?: Record; chatMenu?: boolean; isOAuth?: boolean; startup?: boolean; iconPath?: string; }>; mcpPlaceholder?: string; conversationImportMaxFileSize?: number; buildInfo?: { commit?: string | null; commitShort?: string | null; branch?: string | null; buildDate?: string | null; }; fileUploadSseEnabled?: boolean; endpointsDropParamsMap?: EndpointsDropParamsMap; }; export type TSharedLinkStartupInterface = Pick, 'privacyPolicy' | 'termsOfService'>; export type TSharedLinkStartupConfig = Pick & Pick, 'analyticsGtmId' | 'bundlerURL' | 'customFooter' | 'staticBundlerURL'> & { interface?: TSharedLinkStartupInterface; }; export declare enum OCRStrategy { MISTRAL_OCR = "mistral_ocr", CUSTOM_OCR = "custom_ocr", AZURE_MISTRAL_OCR = "azure_mistral_ocr", VERTEXAI_MISTRAL_OCR = "vertexai_mistral_ocr", DOCUMENT_PARSER = "document_parser" } export declare enum SearchCategories { PROVIDERS = "providers", SCRAPERS = "scrapers", RERANKERS = "rerankers" } export declare enum SearchProviders { SERPER = "serper", SEARXNG = "searxng", TAVILY = "tavily", KEENABLE = "keenable" } export declare enum ScraperProviders { FIRECRAWL = "firecrawl", SERPER = "serper", TAVILY = "tavily", KEENABLE = "keenable" } export declare enum RerankerTypes { JINA = "jina", COHERE = "cohere", NONE = "none" } export declare enum SafeSearchTypes { OFF = 0, MODERATE = 1, STRICT = 2 } /** * Normalizes a SearXNG engine list into the comma-separated form the API expects. * Accepts the YAML list or comma-separated string an operator may write, and is * applied both at the schema boundary and when loading the runtime config, since * `loadCustomConfig` returns the raw YAML object rather than the parsed result. */ export declare function normalizeSearxngEngines(engines?: string | string[]): string | undefined; export declare const webSearchSchema: z.ZodObject<{ allowedAddresses: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; serperApiKey: z.ZodDefault>; serperApiKeyPreview: z.ZodOptional; searxngInstanceUrl: z.ZodDefault>; searxngApiKey: z.ZodDefault>; searxngApiKeyPreview: z.ZodOptional; firecrawlApiKey: z.ZodDefault>; firecrawlApiKeyPreview: z.ZodOptional; firecrawlApiUrl: z.ZodDefault>; firecrawlVersion: z.ZodDefault>; tavilyApiKey: z.ZodDefault>; tavilyApiKeyPreview: z.ZodOptional; tavilySearchUrl: z.ZodDefault>; tavilyExtractUrl: z.ZodDefault>; keenableApiKey: z.ZodDefault>; keenableApiUrl: z.ZodDefault>; jinaApiKey: z.ZodDefault>; jinaApiKeyPreview: z.ZodOptional; jinaApiUrl: z.ZodDefault>; cohereApiKey: z.ZodDefault>; cohereApiKeyPreview: z.ZodOptional; searchProvider: z.ZodOptional>; scraperProvider: z.ZodOptional>; rerankerType: z.ZodOptional>; scraperTimeout: z.ZodOptional; safeSearch: z.ZodDefault>; firecrawlOptions: z.ZodOptional>; includeTags: z.ZodOptional>; excludeTags: z.ZodOptional>; headers: z.ZodOptional>; waitFor: z.ZodOptional; timeout: z.ZodOptional; maxAge: z.ZodOptional; mobile: z.ZodOptional; skipTlsVerification: z.ZodOptional; blockAds: z.ZodOptional; removeBase64Images: z.ZodOptional; parsePDF: z.ZodOptional; storeInCache: z.ZodOptional; zeroDataRetention: z.ZodOptional; location: z.ZodOptional; languages: z.ZodOptional>; }, "strip", z.ZodTypeAny, { country?: string | undefined; languages?: string[] | undefined; }, { country?: string | undefined; languages?: string[] | undefined; }>>; onlyMainContent: z.ZodOptional; changeTrackingOptions: z.ZodOptional>; schema: z.ZodOptional>; prompt: z.ZodOptional; tag: z.ZodOptional>; }, "strip", z.ZodTypeAny, { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; }, { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; }>>; }, "strip", z.ZodTypeAny, { headers?: Record | undefined; timeout?: number | undefined; formats?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; waitFor?: number | undefined; maxAge?: number | undefined; mobile?: boolean | undefined; skipTlsVerification?: boolean | undefined; blockAds?: boolean | undefined; removeBase64Images?: boolean | undefined; parsePDF?: boolean | undefined; storeInCache?: boolean | undefined; zeroDataRetention?: boolean | undefined; location?: { country?: string | undefined; languages?: string[] | undefined; } | undefined; onlyMainContent?: boolean | undefined; changeTrackingOptions?: { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; } | undefined; }, { headers?: Record | undefined; timeout?: number | undefined; formats?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; waitFor?: number | undefined; maxAge?: number | undefined; mobile?: boolean | undefined; skipTlsVerification?: boolean | undefined; blockAds?: boolean | undefined; removeBase64Images?: boolean | undefined; parsePDF?: boolean | undefined; storeInCache?: boolean | undefined; zeroDataRetention?: boolean | undefined; location?: { country?: string | undefined; languages?: string[] | undefined; } | undefined; onlyMainContent?: boolean | undefined; changeTrackingOptions?: { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; } | undefined; }>>; searxngSearchOptions: z.ZodOptional]>, string | undefined, string | string[]>>; language: z.ZodOptional; timeRange: z.ZodOptional>; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; engines?: string | undefined; language?: string | undefined; timeRange?: "day" | "month" | "year" | undefined; }, { timeout?: number | undefined; engines?: string | string[] | undefined; language?: string | undefined; timeRange?: "day" | "month" | "year" | undefined; }>>; tavilySearchOptions: z.ZodOptional>; maxResults: z.ZodOptional; includeImages: z.ZodOptional; includeAnswer: z.ZodOptional]>>; includeRawContent: z.ZodOptional]>>; includeDomains: z.ZodOptional>; excludeDomains: z.ZodOptional>; topic: z.ZodOptional>; timeRange: z.ZodOptional>; includeImageDescriptions: z.ZodOptional; includeFavicon: z.ZodOptional; chunksPerSource: z.ZodOptional; safeSearch: z.ZodOptional; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; safeSearch?: boolean | undefined; timeRange?: "day" | "month" | "year" | "week" | "d" | "w" | "m" | "y" | undefined; searchDepth?: "basic" | "advanced" | "fast" | "ultra-fast" | undefined; maxResults?: number | undefined; includeImages?: boolean | undefined; includeAnswer?: boolean | "basic" | "advanced" | undefined; includeRawContent?: boolean | "text" | "markdown" | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; topic?: "general" | "news" | "finance" | undefined; includeImageDescriptions?: boolean | undefined; includeFavicon?: boolean | undefined; chunksPerSource?: number | undefined; }, { timeout?: number | undefined; safeSearch?: boolean | undefined; timeRange?: "day" | "month" | "year" | "week" | "d" | "w" | "m" | "y" | undefined; searchDepth?: "basic" | "advanced" | "fast" | "ultra-fast" | undefined; maxResults?: number | undefined; includeImages?: boolean | undefined; includeAnswer?: boolean | "basic" | "advanced" | undefined; includeRawContent?: boolean | "text" | "markdown" | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; topic?: "general" | "news" | "finance" | undefined; includeImageDescriptions?: boolean | undefined; includeFavicon?: boolean | undefined; chunksPerSource?: number | undefined; }>>; tavilyScraperOptions: z.ZodOptional>; includeImages: z.ZodOptional; includeFavicon: z.ZodOptional; format: z.ZodOptional>; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; includeImages?: boolean | undefined; includeFavicon?: boolean | undefined; extractDepth?: "basic" | "advanced" | undefined; format?: "text" | "markdown" | undefined; }, { timeout?: number | undefined; includeImages?: boolean | undefined; includeFavicon?: boolean | undefined; extractDepth?: "basic" | "advanced" | undefined; format?: "text" | "markdown" | undefined; }>>; keenableSearchOptions: z.ZodOptional; site: z.ZodOptional; attributionTitle: z.ZodOptional; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; maxResults?: number | undefined; site?: string | undefined; attributionTitle?: string | undefined; }, { timeout?: number | undefined; maxResults?: number | undefined; site?: string | undefined; attributionTitle?: string | undefined; }>>; keenableScraperOptions: z.ZodOptional; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; attributionTitle?: string | undefined; }, { timeout?: number | undefined; attributionTitle?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { serperApiKey: string; searxngInstanceUrl: string; searxngApiKey: string; firecrawlApiKey: string; firecrawlApiUrl: string; firecrawlVersion: string; tavilyApiKey: string; tavilySearchUrl: string; tavilyExtractUrl: string; keenableApiKey: string; keenableApiUrl: string; jinaApiKey: string; jinaApiUrl: string; cohereApiKey: string; safeSearch: SafeSearchTypes; allowedAddresses?: string[] | undefined; serperApiKeyPreview?: string | undefined; searxngApiKeyPreview?: string | undefined; firecrawlApiKeyPreview?: string | undefined; tavilyApiKeyPreview?: string | undefined; jinaApiKeyPreview?: string | undefined; cohereApiKeyPreview?: string | undefined; searchProvider?: SearchProviders | undefined; scraperProvider?: ScraperProviders | undefined; rerankerType?: RerankerTypes | undefined; scraperTimeout?: number | undefined; firecrawlOptions?: { headers?: Record | undefined; timeout?: number | undefined; formats?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; waitFor?: number | undefined; maxAge?: number | undefined; mobile?: boolean | undefined; skipTlsVerification?: boolean | undefined; blockAds?: boolean | undefined; removeBase64Images?: boolean | undefined; parsePDF?: boolean | undefined; storeInCache?: boolean | undefined; zeroDataRetention?: boolean | undefined; location?: { country?: string | undefined; languages?: string[] | undefined; } | undefined; onlyMainContent?: boolean | undefined; changeTrackingOptions?: { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; } | undefined; } | undefined; searxngSearchOptions?: { timeout?: number | undefined; engines?: string | undefined; language?: string | undefined; timeRange?: "day" | "month" | "year" | undefined; } | undefined; tavilySearchOptions?: { timeout?: number | undefined; safeSearch?: boolean | undefined; timeRange?: "day" | "month" | "year" | "week" | "d" | "w" | "m" | "y" | undefined; searchDepth?: "basic" | "advanced" | "fast" | "ultra-fast" | undefined; maxResults?: number | undefined; includeImages?: boolean | undefined; includeAnswer?: boolean | "basic" | "advanced" | undefined; includeRawContent?: boolean | "text" | "markdown" | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; topic?: "general" | "news" | "finance" | undefined; includeImageDescriptions?: boolean | undefined; includeFavicon?: boolean | undefined; chunksPerSource?: number | undefined; } | undefined; tavilyScraperOptions?: { timeout?: number | undefined; includeImages?: boolean | undefined; includeFavicon?: boolean | undefined; extractDepth?: "basic" | "advanced" | undefined; format?: "text" | "markdown" | undefined; } | undefined; keenableSearchOptions?: { timeout?: number | undefined; maxResults?: number | undefined; site?: string | undefined; attributionTitle?: string | undefined; } | undefined; keenableScraperOptions?: { timeout?: number | undefined; attributionTitle?: string | undefined; } | undefined; }, { allowedAddresses?: string[] | undefined; serperApiKey?: string | undefined; serperApiKeyPreview?: string | undefined; searxngInstanceUrl?: string | undefined; searxngApiKey?: string | undefined; searxngApiKeyPreview?: string | undefined; firecrawlApiKey?: string | undefined; firecrawlApiKeyPreview?: string | undefined; firecrawlApiUrl?: string | undefined; firecrawlVersion?: string | undefined; tavilyApiKey?: string | undefined; tavilyApiKeyPreview?: string | undefined; tavilySearchUrl?: string | undefined; tavilyExtractUrl?: string | undefined; keenableApiKey?: string | undefined; keenableApiUrl?: string | undefined; jinaApiKey?: string | undefined; jinaApiKeyPreview?: string | undefined; jinaApiUrl?: string | undefined; cohereApiKey?: string | undefined; cohereApiKeyPreview?: string | undefined; searchProvider?: SearchProviders | undefined; scraperProvider?: ScraperProviders | undefined; rerankerType?: RerankerTypes | undefined; scraperTimeout?: number | undefined; safeSearch?: SafeSearchTypes | undefined; firecrawlOptions?: { headers?: Record | undefined; timeout?: number | undefined; formats?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; waitFor?: number | undefined; maxAge?: number | undefined; mobile?: boolean | undefined; skipTlsVerification?: boolean | undefined; blockAds?: boolean | undefined; removeBase64Images?: boolean | undefined; parsePDF?: boolean | undefined; storeInCache?: boolean | undefined; zeroDataRetention?: boolean | undefined; location?: { country?: string | undefined; languages?: string[] | undefined; } | undefined; onlyMainContent?: boolean | undefined; changeTrackingOptions?: { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; } | undefined; } | undefined; searxngSearchOptions?: { timeout?: number | undefined; engines?: string | string[] | undefined; language?: string | undefined; timeRange?: "day" | "month" | "year" | undefined; } | undefined; tavilySearchOptions?: { timeout?: number | undefined; safeSearch?: boolean | undefined; timeRange?: "day" | "month" | "year" | "week" | "d" | "w" | "m" | "y" | undefined; searchDepth?: "basic" | "advanced" | "fast" | "ultra-fast" | undefined; maxResults?: number | undefined; includeImages?: boolean | undefined; includeAnswer?: boolean | "basic" | "advanced" | undefined; includeRawContent?: boolean | "text" | "markdown" | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; topic?: "general" | "news" | "finance" | undefined; includeImageDescriptions?: boolean | undefined; includeFavicon?: boolean | undefined; chunksPerSource?: number | undefined; } | undefined; tavilyScraperOptions?: { timeout?: number | undefined; includeImages?: boolean | undefined; includeFavicon?: boolean | undefined; extractDepth?: "basic" | "advanced" | undefined; format?: "text" | "markdown" | undefined; } | undefined; keenableSearchOptions?: { timeout?: number | undefined; maxResults?: number | undefined; site?: string | undefined; attributionTitle?: string | undefined; } | undefined; keenableScraperOptions?: { timeout?: number | undefined; attributionTitle?: string | undefined; } | undefined; }>; export type TWebSearchConfig = DeepPartial>; export declare const ocrSchema: z.ZodObject<{ allowedAddresses: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; mistralModel: z.ZodOptional; apiKey: z.ZodDefault>; apiKeyPreview: z.ZodOptional; baseURL: z.ZodDefault>; strategy: z.ZodDefault>; }, "strip", z.ZodTypeAny, { baseURL: string; apiKey: string; strategy: OCRStrategy; allowedAddresses?: string[] | undefined; mistralModel?: string | undefined; apiKeyPreview?: string | undefined; }, { baseURL?: string | undefined; apiKey?: string | undefined; allowedAddresses?: string[] | undefined; mistralModel?: string | undefined; apiKeyPreview?: string | undefined; strategy?: OCRStrategy | undefined; }>; export declare const balanceSchema: z.ZodObject<{ enabled: z.ZodDefault>; startBalance: z.ZodDefault>; autoRefillEnabled: z.ZodDefault>; refillIntervalValue: z.ZodDefault>; refillIntervalUnit: z.ZodDefault>>; refillAmount: z.ZodDefault>; }, "strip", z.ZodTypeAny, { enabled: boolean; startBalance: number; autoRefillEnabled: boolean; refillIntervalValue: number; refillIntervalUnit: "seconds" | "minutes" | "hours" | "days" | "weeks" | "months"; refillAmount: number; }, { enabled?: boolean | undefined; startBalance?: number | undefined; autoRefillEnabled?: boolean | undefined; refillIntervalValue?: number | undefined; refillIntervalUnit?: "seconds" | "minutes" | "hours" | "days" | "weeks" | "months" | undefined; refillAmount?: number | undefined; }>; export declare const transactionsSchema: z.ZodObject<{ enabled: z.ZodDefault>; }, "strip", z.ZodTypeAny, { enabled: boolean; }, { enabled?: boolean | undefined; }>; export declare const DEFAULT_MEMORY_MAX_INPUT_TOKENS = 12000; export declare const memorySchema: z.ZodObject<{ disabled: z.ZodOptional; validKeys: z.ZodOptional>; tokenLimit: z.ZodOptional; charLimit: z.ZodDefault>; maxInputTokens: z.ZodDefault>; personalize: z.ZodDefault; messageWindowSize: z.ZodDefault>; agent: z.ZodOptional; id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; enabled?: boolean | undefined; }, { id: string; enabled?: boolean | undefined; }>, z.ZodObject<{ enabled: z.ZodOptional; provider: z.ZodString; model: z.ZodString; instructions: z.ZodOptional; model_parameters: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { provider: string; model: string; instructions?: string | undefined; model_parameters?: Record | undefined; enabled?: boolean | undefined; }, { provider: string; model: string; instructions?: string | undefined; model_parameters?: Record | undefined; enabled?: boolean | undefined; }>]>>; }, "strip", z.ZodTypeAny, { charLimit: number; maxInputTokens: number; personalize: boolean; messageWindowSize: number; agent?: { id: string; enabled?: boolean | undefined; } | { provider: string; model: string; instructions?: string | undefined; model_parameters?: Record | undefined; enabled?: boolean | undefined; } | undefined; disabled?: boolean | undefined; validKeys?: string[] | undefined; tokenLimit?: number | undefined; }, { agent?: { id: string; enabled?: boolean | undefined; } | { provider: string; model: string; instructions?: string | undefined; model_parameters?: Record | undefined; enabled?: boolean | undefined; } | undefined; disabled?: boolean | undefined; validKeys?: string[] | undefined; tokenLimit?: number | undefined; charLimit?: number | undefined; maxInputTokens?: number | undefined; personalize?: boolean | undefined; messageWindowSize?: number | undefined; }>; export type TMemoryConfig = DeepPartial>; export declare const summarizationTriggerSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"token_ratio">; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "token_ratio"; value: number; }, { type: "token_ratio"; value: number; }>, z.ZodObject<{ type: z.ZodLiteral<"remaining_tokens">; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "remaining_tokens"; value: number; }, { type: "remaining_tokens"; value: number; }>, z.ZodObject<{ type: z.ZodLiteral<"messages_to_refine">; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "messages_to_refine"; value: number; }, { type: "messages_to_refine"; value: number; }>]>; export declare const contextPruningSchema: z.ZodObject<{ enabled: z.ZodOptional; keepLastAssistants: z.ZodOptional; softTrimRatio: z.ZodOptional; hardClearRatio: z.ZodOptional; minPrunableToolChars: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; }, { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; }>; export declare const retainRecentConfigSchema: z.ZodObject<{ turns: z.ZodOptional; tokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { turns?: number | undefined; tokens?: number | undefined; }, { turns?: number | undefined; tokens?: number | undefined; }>; export declare const summarizationConfigSchema: z.ZodObject<{ enabled: z.ZodOptional; provider: z.ZodOptional; model: z.ZodOptional; parameters: z.ZodOptional>>; trigger: z.ZodOptional; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "token_ratio"; value: number; }, { type: "token_ratio"; value: number; }>, z.ZodObject<{ type: z.ZodLiteral<"remaining_tokens">; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "remaining_tokens"; value: number; }, { type: "remaining_tokens"; value: number; }>, z.ZodObject<{ type: z.ZodLiteral<"messages_to_refine">; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "messages_to_refine"; value: number; }, { type: "messages_to_refine"; value: number; }>]>>; prompt: z.ZodOptional; updatePrompt: z.ZodOptional; reserveRatio: z.ZodOptional; maxSummaryTokens: z.ZodOptional; contextPruning: z.ZodOptional; keepLastAssistants: z.ZodOptional; softTrimRatio: z.ZodOptional; hardClearRatio: z.ZodOptional; minPrunableToolChars: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; }, { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; }>>; retainRecent: z.ZodOptional; tokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { turns?: number | undefined; tokens?: number | undefined; }, { turns?: number | undefined; tokens?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { prompt?: string | undefined; provider?: string | undefined; model?: string | undefined; enabled?: boolean | undefined; parameters?: Record | undefined; trigger?: { type: "token_ratio"; value: number; } | { type: "remaining_tokens"; value: number; } | { type: "messages_to_refine"; value: number; } | undefined; updatePrompt?: string | undefined; reserveRatio?: number | undefined; maxSummaryTokens?: number | undefined; contextPruning?: { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; } | undefined; retainRecent?: { turns?: number | undefined; tokens?: number | undefined; } | undefined; }, { prompt?: string | undefined; provider?: string | undefined; model?: string | undefined; enabled?: boolean | undefined; parameters?: Record | undefined; trigger?: { type: "token_ratio"; value: number; } | { type: "remaining_tokens"; value: number; } | { type: "messages_to_refine"; value: number; } | undefined; updatePrompt?: string | undefined; reserveRatio?: number | undefined; maxSummaryTokens?: number | undefined; contextPruning?: { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; } | undefined; retainRecent?: { turns?: number | undefined; tokens?: number | undefined; } | undefined; }>; export type SummarizationConfig = z.infer; declare const customEndpointsSchema: z.ZodOptional>; titlePrompt: z.ZodOptional>; titleModel: z.ZodOptional>; titleConvo: z.ZodOptional>; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>>; titleEndpoint: z.ZodOptional>; titlePromptTemplate: z.ZodOptional>; titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>>; activityLabel: z.ZodOptional>; activityModel: z.ZodOptional>; activityEndpoint: z.ZodOptional>; activityPrompt: z.ZodOptional>; activityMaxPerRun: z.ZodOptional>; activityCharLimit: z.ZodOptional>; activityPhaseLabel: z.ZodOptional>; activityPhaseModel: z.ZodOptional>; activityPhaseEndpoint: z.ZodOptional>; activityPhasePrompt: z.ZodOptional>; activityPhaseMaxPerRun: z.ZodOptional>; reasoningLabel: z.ZodOptional>; reasoningLabelModel: z.ZodOptional>; reasoningLabelEndpoint: z.ZodOptional>; reasoningLabelPrompt: z.ZodOptional>; reasoningLabelMinChars: z.ZodOptional>; reasoningLabelUpdateChars: z.ZodOptional>; reasoningLabelUpdateIntervalMs: z.ZodOptional>; reasoningLabelMaxPerRun: z.ZodOptional>; maxToolResultChars: z.ZodOptional>; name: z.ZodOptional>; apiKey: z.ZodOptional; apiKeyPreview: z.ZodOptional>; baseURL: z.ZodOptional; models: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; }, { name: string; description?: string | undefined; }>]>, "many">; fetch: z.ZodOptional; userIdQuery: z.ZodOptional; }, "strip", z.ZodTypeAny, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }>>; iconURL: z.ZodOptional>; modelDisplayLabel: z.ZodOptional>; provider: z.ZodOptional>>; headers: z.ZodOptional>>; addParams: z.ZodOptional, z.ZodTypeDef, Record>>>; dropParams: z.ZodOptional>>; customParams: z.ZodOptional; reasoningFormat: z.ZodOptional>; reasoningKey: z.ZodOptional>; /** Replays `reasoning_content` within a run's tool-call turns (e.g. Xiaomi MiMo, Kimi). */ includeReasoningContent: z.ZodOptional; /** Also reconstructs `reasoning_content` from persisted history across turns (implies `includeReasoningContent`). */ includeReasoningHistory: z.ZodOptional; paramDefinitions: z.ZodOptional; type: z.ZodOptional>; default: z.ZodOptional]>>; showLabel: z.ZodOptional; showDefault: z.ZodOptional; options: z.ZodOptional>; range: z.ZodOptional; positiveMin: z.ZodOptional; }, "strip", z.ZodTypeAny, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }>, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }>>; enumMappings: z.ZodOptional>>; component: z.ZodOptional>; optionType: z.ZodOptional>; columnSpan: z.ZodOptional; columns: z.ZodOptional; label: z.ZodOptional; placeholder: z.ZodOptional; labelCode: z.ZodOptional; placeholderCode: z.ZodOptional; descriptionCode: z.ZodOptional; minText: z.ZodOptional; maxText: z.ZodOptional; minTags: z.ZodOptional; maxTags: z.ZodOptional; includeInput: z.ZodOptional; descriptionSide: z.ZodOptional>; searchPlaceholder: z.ZodOptional; selectPlaceholder: z.ZodOptional; searchPlaceholderCode: z.ZodOptional; selectPlaceholderCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }, { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { defaultParamsEndpoint: string; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; }, { defaultParamsEndpoint?: string | undefined; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; }>>>; directEndpoint: z.ZodOptional>; titleMessageRole: z.ZodOptional>>; tokenConfig: z.ZodOptional; cacheWrite: z.ZodOptional; }, "strip", z.ZodTypeAny, { context: number; prompt: number; completion: number; cacheRead?: number | undefined; cacheWrite?: number | undefined; }, { context: number; prompt: number; completion: number; cacheRead?: number | undefined; cacheWrite?: number | undefined; }>>>>; }, "strip", z.ZodTypeAny, { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint: string; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }, { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint?: string | undefined; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }>, "many">>; /** * Validates a messageFilter PII regex at config load. Defaults to native RegExp so browser * builds add no extra engine; the server injects a check backed by the linear-time runtime * engine (RE2) via setMessageFilterRegexValidator, so a pattern the runtime cannot compile * (backreferences, lookaround, control escapes, and so on) is rejected at load rather than * silently dropped at request time. */ interface MessageFilterRegexValidation { readonly supported: boolean; readonly programSize?: number; } type MessageFilterRegexValidationResult = boolean | MessageFilterRegexValidation; export declare const setMessageFilterRegexValidator: (validate: (pattern: string) => MessageFilterRegexValidationResult) => void; export declare const messageFilterPiiSchema: z.ZodEffects>; customPatterns: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>; export type MessageFilterPiiConfig = z.infer; export declare const messageFilterSchema: z.ZodObject<{ pii: z.ZodOptional>; customPatterns: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strip", z.ZodTypeAny, { pii?: { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>; export type MessageFilterConfig = z.infer; /** User fields a deployment may select as the Langfuse trace `userId`. */ export declare const LANGFUSE_TRACE_USER_ID_FIELDS: readonly ["id", "email", "username", "name", "openidId", "samlId", "ldapId", "googleId", "githubId", "discordId", "appleId", "facebookId"]; export type LangfuseTraceUserIdField = (typeof LANGFUSE_TRACE_USER_ID_FIELDS)[number]; /** User fields a deployment may copy into Langfuse trace metadata. */ export declare const LANGFUSE_TRACE_USER_METADATA_FIELDS: readonly ["id", "email", "username", "name", "openidId", "samlId", "ldapId", "googleId", "githubId", "discordId", "appleId", "facebookId", "role", "provider"]; export type LangfuseTraceUserMetadataField = (typeof LANGFUSE_TRACE_USER_METADATA_FIELDS)[number]; /** Request fields a deployment may copy into Langfuse trace metadata. */ export declare const LANGFUSE_TRACE_CONVERSATION_METADATA_FIELDS: readonly ["conversationId", "endpoint", "endpointType", "provider", "model", "modelLabel", "spec"]; export type LangfuseTraceConversationMetadataField = (typeof LANGFUSE_TRACE_CONVERSATION_METADATA_FIELDS)[number]; /** * What a deployment attaches to every Langfuse trace beyond the defaults. * Nothing here is exported unless explicitly listed, so the default trace * carries only the internal user id and no user or request metadata. */ export declare const langfuseTraceConfigSchema: z.ZodObject<{ /** * Which user field becomes the trace `userId`. Defaults to the internal user * id; a user with no value for the chosen field keeps the internal id. */ userIdField: z.ZodOptional>; /** User fields exported as `librechat.user.` trace metadata. */ userMetadataFields: z.ZodOptional, "many">>; /** * Request fields exported as trace metadata: `librechat.conversation.id`, * `librechat.endpoint`, `librechat.endpoint.type`, `librechat.provider`, * `librechat.model`, `librechat.model.label`, and `librechat.spec`. */ conversationMetadataFields: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; }, { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; }>; export type LangfuseTraceConfig = z.infer; export declare const langfuseConfigSchema: z.ZodObject<{ enabled: z.ZodOptional; publicKey: z.ZodOptional; secretKey: z.ZodOptional; /** Stable Langfuse project identity returned when credentials are verified. */ projectId: z.ZodOptional; /** Masked preview of the secret key, stored at write time so * admin reads can show which secret key is configured without returning the secret. */ secretKeyPreview: z.ZodOptional; /** Routing key for one of the deployment-configured tenant Langfuse destinations. */ destination: z.ZodOptional; /** * Custom request headers sent on every outbound Langfuse request — trace and * media export, feedback scores, and credential verification — for * self-hosted instances behind an authenticating proxy or gateway. Values * support `${ENV_VAR}` interpolation. * * Deployment-level only. Trace export batches spans from every user through * one exporter, so unlike endpoint headers these cannot carry per-user * placeholders. Headers referencing an unset variable, naming an * infrastructure secret, or carrying an invalid HTTP field name are dropped * with a warning rather than sent. * * Sent only when the deployment configures exactly one Langfuse origin, and * only to that origin. The map cannot say which endpoint it authenticates * to, so with several configured origins any choice of recipient would risk * disclosing a gateway credential to the others; a warning is logged instead. * Multi-destination deployments need per-destination headers, which this * schema does not yet express — and note the fanout collector forwards only * `Authorization` upstream regardless. */ headers: z.ZodOptional>; /** Trace user identity and allowlisted user/request metadata. */ trace: z.ZodOptional>; /** User fields exported as `librechat.user.` trace metadata. */ userMetadataFields: z.ZodOptional, "many">>; /** * Request fields exported as trace metadata: `librechat.conversation.id`, * `librechat.endpoint`, `librechat.endpoint.type`, `librechat.provider`, * `librechat.model`, `librechat.model.label`, and `librechat.spec`. */ conversationMetadataFields: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; }, { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; }>>; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; headers?: Record | undefined; projectId?: string | undefined; publicKey?: string | undefined; secretKey?: string | undefined; secretKeyPreview?: string | undefined; destination?: string | undefined; trace?: { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; } | undefined; }, { enabled?: boolean | undefined; headers?: Record | undefined; projectId?: string | undefined; publicKey?: string | undefined; secretKey?: string | undefined; secretKeyPreview?: string | undefined; destination?: string | undefined; trace?: { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; } | undefined; }>; export type LangfuseConfig = z.infer; export declare const configSchema: z.ZodObject<{ version: z.ZodString; cache: z.ZodDefault; ocr: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; mistralModel: z.ZodOptional; apiKey: z.ZodDefault>; apiKeyPreview: z.ZodOptional; baseURL: z.ZodDefault>; strategy: z.ZodDefault>; }, "strip", z.ZodTypeAny, { baseURL: string; apiKey: string; strategy: OCRStrategy; allowedAddresses?: string[] | undefined; mistralModel?: string | undefined; apiKeyPreview?: string | undefined; }, { baseURL?: string | undefined; apiKey?: string | undefined; allowedAddresses?: string[] | undefined; mistralModel?: string | undefined; apiKeyPreview?: string | undefined; strategy?: OCRStrategy | undefined; }>>; webSearch: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; serperApiKey: z.ZodDefault>; serperApiKeyPreview: z.ZodOptional; searxngInstanceUrl: z.ZodDefault>; searxngApiKey: z.ZodDefault>; searxngApiKeyPreview: z.ZodOptional; firecrawlApiKey: z.ZodDefault>; firecrawlApiKeyPreview: z.ZodOptional; firecrawlApiUrl: z.ZodDefault>; firecrawlVersion: z.ZodDefault>; tavilyApiKey: z.ZodDefault>; tavilyApiKeyPreview: z.ZodOptional; tavilySearchUrl: z.ZodDefault>; tavilyExtractUrl: z.ZodDefault>; keenableApiKey: z.ZodDefault>; keenableApiUrl: z.ZodDefault>; jinaApiKey: z.ZodDefault>; jinaApiKeyPreview: z.ZodOptional; jinaApiUrl: z.ZodDefault>; cohereApiKey: z.ZodDefault>; cohereApiKeyPreview: z.ZodOptional; searchProvider: z.ZodOptional>; scraperProvider: z.ZodOptional>; rerankerType: z.ZodOptional>; scraperTimeout: z.ZodOptional; safeSearch: z.ZodDefault>; firecrawlOptions: z.ZodOptional>; includeTags: z.ZodOptional>; excludeTags: z.ZodOptional>; headers: z.ZodOptional>; waitFor: z.ZodOptional; timeout: z.ZodOptional; maxAge: z.ZodOptional; mobile: z.ZodOptional; skipTlsVerification: z.ZodOptional; blockAds: z.ZodOptional; removeBase64Images: z.ZodOptional; parsePDF: z.ZodOptional; storeInCache: z.ZodOptional; zeroDataRetention: z.ZodOptional; location: z.ZodOptional; languages: z.ZodOptional>; }, "strip", z.ZodTypeAny, { country?: string | undefined; languages?: string[] | undefined; }, { country?: string | undefined; languages?: string[] | undefined; }>>; onlyMainContent: z.ZodOptional; changeTrackingOptions: z.ZodOptional>; schema: z.ZodOptional>; prompt: z.ZodOptional; tag: z.ZodOptional>; }, "strip", z.ZodTypeAny, { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; }, { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; }>>; }, "strip", z.ZodTypeAny, { headers?: Record | undefined; timeout?: number | undefined; formats?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; waitFor?: number | undefined; maxAge?: number | undefined; mobile?: boolean | undefined; skipTlsVerification?: boolean | undefined; blockAds?: boolean | undefined; removeBase64Images?: boolean | undefined; parsePDF?: boolean | undefined; storeInCache?: boolean | undefined; zeroDataRetention?: boolean | undefined; location?: { country?: string | undefined; languages?: string[] | undefined; } | undefined; onlyMainContent?: boolean | undefined; changeTrackingOptions?: { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; } | undefined; }, { headers?: Record | undefined; timeout?: number | undefined; formats?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; waitFor?: number | undefined; maxAge?: number | undefined; mobile?: boolean | undefined; skipTlsVerification?: boolean | undefined; blockAds?: boolean | undefined; removeBase64Images?: boolean | undefined; parsePDF?: boolean | undefined; storeInCache?: boolean | undefined; zeroDataRetention?: boolean | undefined; location?: { country?: string | undefined; languages?: string[] | undefined; } | undefined; onlyMainContent?: boolean | undefined; changeTrackingOptions?: { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; } | undefined; }>>; searxngSearchOptions: z.ZodOptional]>, string | undefined, string | string[]>>; language: z.ZodOptional; timeRange: z.ZodOptional>; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; engines?: string | undefined; language?: string | undefined; timeRange?: "day" | "month" | "year" | undefined; }, { timeout?: number | undefined; engines?: string | string[] | undefined; language?: string | undefined; timeRange?: "day" | "month" | "year" | undefined; }>>; tavilySearchOptions: z.ZodOptional>; maxResults: z.ZodOptional; includeImages: z.ZodOptional; includeAnswer: z.ZodOptional]>>; includeRawContent: z.ZodOptional]>>; includeDomains: z.ZodOptional>; excludeDomains: z.ZodOptional>; topic: z.ZodOptional>; timeRange: z.ZodOptional>; includeImageDescriptions: z.ZodOptional; includeFavicon: z.ZodOptional; chunksPerSource: z.ZodOptional; safeSearch: z.ZodOptional; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; safeSearch?: boolean | undefined; timeRange?: "day" | "month" | "year" | "week" | "d" | "w" | "m" | "y" | undefined; searchDepth?: "basic" | "advanced" | "fast" | "ultra-fast" | undefined; maxResults?: number | undefined; includeImages?: boolean | undefined; includeAnswer?: boolean | "basic" | "advanced" | undefined; includeRawContent?: boolean | "text" | "markdown" | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; topic?: "general" | "news" | "finance" | undefined; includeImageDescriptions?: boolean | undefined; includeFavicon?: boolean | undefined; chunksPerSource?: number | undefined; }, { timeout?: number | undefined; safeSearch?: boolean | undefined; timeRange?: "day" | "month" | "year" | "week" | "d" | "w" | "m" | "y" | undefined; searchDepth?: "basic" | "advanced" | "fast" | "ultra-fast" | undefined; maxResults?: number | undefined; includeImages?: boolean | undefined; includeAnswer?: boolean | "basic" | "advanced" | undefined; includeRawContent?: boolean | "text" | "markdown" | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; topic?: "general" | "news" | "finance" | undefined; includeImageDescriptions?: boolean | undefined; includeFavicon?: boolean | undefined; chunksPerSource?: number | undefined; }>>; tavilyScraperOptions: z.ZodOptional>; includeImages: z.ZodOptional; includeFavicon: z.ZodOptional; format: z.ZodOptional>; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; includeImages?: boolean | undefined; includeFavicon?: boolean | undefined; extractDepth?: "basic" | "advanced" | undefined; format?: "text" | "markdown" | undefined; }, { timeout?: number | undefined; includeImages?: boolean | undefined; includeFavicon?: boolean | undefined; extractDepth?: "basic" | "advanced" | undefined; format?: "text" | "markdown" | undefined; }>>; keenableSearchOptions: z.ZodOptional; site: z.ZodOptional; attributionTitle: z.ZodOptional; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; maxResults?: number | undefined; site?: string | undefined; attributionTitle?: string | undefined; }, { timeout?: number | undefined; maxResults?: number | undefined; site?: string | undefined; attributionTitle?: string | undefined; }>>; keenableScraperOptions: z.ZodOptional; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; attributionTitle?: string | undefined; }, { timeout?: number | undefined; attributionTitle?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { serperApiKey: string; searxngInstanceUrl: string; searxngApiKey: string; firecrawlApiKey: string; firecrawlApiUrl: string; firecrawlVersion: string; tavilyApiKey: string; tavilySearchUrl: string; tavilyExtractUrl: string; keenableApiKey: string; keenableApiUrl: string; jinaApiKey: string; jinaApiUrl: string; cohereApiKey: string; safeSearch: SafeSearchTypes; allowedAddresses?: string[] | undefined; serperApiKeyPreview?: string | undefined; searxngApiKeyPreview?: string | undefined; firecrawlApiKeyPreview?: string | undefined; tavilyApiKeyPreview?: string | undefined; jinaApiKeyPreview?: string | undefined; cohereApiKeyPreview?: string | undefined; searchProvider?: SearchProviders | undefined; scraperProvider?: ScraperProviders | undefined; rerankerType?: RerankerTypes | undefined; scraperTimeout?: number | undefined; firecrawlOptions?: { headers?: Record | undefined; timeout?: number | undefined; formats?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; waitFor?: number | undefined; maxAge?: number | undefined; mobile?: boolean | undefined; skipTlsVerification?: boolean | undefined; blockAds?: boolean | undefined; removeBase64Images?: boolean | undefined; parsePDF?: boolean | undefined; storeInCache?: boolean | undefined; zeroDataRetention?: boolean | undefined; location?: { country?: string | undefined; languages?: string[] | undefined; } | undefined; onlyMainContent?: boolean | undefined; changeTrackingOptions?: { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; } | undefined; } | undefined; searxngSearchOptions?: { timeout?: number | undefined; engines?: string | undefined; language?: string | undefined; timeRange?: "day" | "month" | "year" | undefined; } | undefined; tavilySearchOptions?: { timeout?: number | undefined; safeSearch?: boolean | undefined; timeRange?: "day" | "month" | "year" | "week" | "d" | "w" | "m" | "y" | undefined; searchDepth?: "basic" | "advanced" | "fast" | "ultra-fast" | undefined; maxResults?: number | undefined; includeImages?: boolean | undefined; includeAnswer?: boolean | "basic" | "advanced" | undefined; includeRawContent?: boolean | "text" | "markdown" | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; topic?: "general" | "news" | "finance" | undefined; includeImageDescriptions?: boolean | undefined; includeFavicon?: boolean | undefined; chunksPerSource?: number | undefined; } | undefined; tavilyScraperOptions?: { timeout?: number | undefined; includeImages?: boolean | undefined; includeFavicon?: boolean | undefined; extractDepth?: "basic" | "advanced" | undefined; format?: "text" | "markdown" | undefined; } | undefined; keenableSearchOptions?: { timeout?: number | undefined; maxResults?: number | undefined; site?: string | undefined; attributionTitle?: string | undefined; } | undefined; keenableScraperOptions?: { timeout?: number | undefined; attributionTitle?: string | undefined; } | undefined; }, { allowedAddresses?: string[] | undefined; serperApiKey?: string | undefined; serperApiKeyPreview?: string | undefined; searxngInstanceUrl?: string | undefined; searxngApiKey?: string | undefined; searxngApiKeyPreview?: string | undefined; firecrawlApiKey?: string | undefined; firecrawlApiKeyPreview?: string | undefined; firecrawlApiUrl?: string | undefined; firecrawlVersion?: string | undefined; tavilyApiKey?: string | undefined; tavilyApiKeyPreview?: string | undefined; tavilySearchUrl?: string | undefined; tavilyExtractUrl?: string | undefined; keenableApiKey?: string | undefined; keenableApiUrl?: string | undefined; jinaApiKey?: string | undefined; jinaApiKeyPreview?: string | undefined; jinaApiUrl?: string | undefined; cohereApiKey?: string | undefined; cohereApiKeyPreview?: string | undefined; searchProvider?: SearchProviders | undefined; scraperProvider?: ScraperProviders | undefined; rerankerType?: RerankerTypes | undefined; scraperTimeout?: number | undefined; safeSearch?: SafeSearchTypes | undefined; firecrawlOptions?: { headers?: Record | undefined; timeout?: number | undefined; formats?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; waitFor?: number | undefined; maxAge?: number | undefined; mobile?: boolean | undefined; skipTlsVerification?: boolean | undefined; blockAds?: boolean | undefined; removeBase64Images?: boolean | undefined; parsePDF?: boolean | undefined; storeInCache?: boolean | undefined; zeroDataRetention?: boolean | undefined; location?: { country?: string | undefined; languages?: string[] | undefined; } | undefined; onlyMainContent?: boolean | undefined; changeTrackingOptions?: { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; } | undefined; } | undefined; searxngSearchOptions?: { timeout?: number | undefined; engines?: string | string[] | undefined; language?: string | undefined; timeRange?: "day" | "month" | "year" | undefined; } | undefined; tavilySearchOptions?: { timeout?: number | undefined; safeSearch?: boolean | undefined; timeRange?: "day" | "month" | "year" | "week" | "d" | "w" | "m" | "y" | undefined; searchDepth?: "basic" | "advanced" | "fast" | "ultra-fast" | undefined; maxResults?: number | undefined; includeImages?: boolean | undefined; includeAnswer?: boolean | "basic" | "advanced" | undefined; includeRawContent?: boolean | "text" | "markdown" | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; topic?: "general" | "news" | "finance" | undefined; includeImageDescriptions?: boolean | undefined; includeFavicon?: boolean | undefined; chunksPerSource?: number | undefined; } | undefined; tavilyScraperOptions?: { timeout?: number | undefined; includeImages?: boolean | undefined; includeFavicon?: boolean | undefined; extractDepth?: "basic" | "advanced" | undefined; format?: "text" | "markdown" | undefined; } | undefined; keenableSearchOptions?: { timeout?: number | undefined; maxResults?: number | undefined; site?: string | undefined; attributionTitle?: string | undefined; } | undefined; keenableScraperOptions?: { timeout?: number | undefined; attributionTitle?: string | undefined; } | undefined; }>>; langfuse: z.ZodOptional; publicKey: z.ZodOptional; secretKey: z.ZodOptional; /** Stable Langfuse project identity returned when credentials are verified. */ projectId: z.ZodOptional; /** Masked preview of the secret key, stored at write time so * admin reads can show which secret key is configured without returning the secret. */ secretKeyPreview: z.ZodOptional; /** Routing key for one of the deployment-configured tenant Langfuse destinations. */ destination: z.ZodOptional; /** * Custom request headers sent on every outbound Langfuse request — trace and * media export, feedback scores, and credential verification — for * self-hosted instances behind an authenticating proxy or gateway. Values * support `${ENV_VAR}` interpolation. * * Deployment-level only. Trace export batches spans from every user through * one exporter, so unlike endpoint headers these cannot carry per-user * placeholders. Headers referencing an unset variable, naming an * infrastructure secret, or carrying an invalid HTTP field name are dropped * with a warning rather than sent. * * Sent only when the deployment configures exactly one Langfuse origin, and * only to that origin. The map cannot say which endpoint it authenticates * to, so with several configured origins any choice of recipient would risk * disclosing a gateway credential to the others; a warning is logged instead. * Multi-destination deployments need per-destination headers, which this * schema does not yet express — and note the fanout collector forwards only * `Authorization` upstream regardless. */ headers: z.ZodOptional>; /** Trace user identity and allowlisted user/request metadata. */ trace: z.ZodOptional>; /** User fields exported as `librechat.user.` trace metadata. */ userMetadataFields: z.ZodOptional, "many">>; /** * Request fields exported as trace metadata: `librechat.conversation.id`, * `librechat.endpoint`, `librechat.endpoint.type`, `librechat.provider`, * `librechat.model`, `librechat.model.label`, and `librechat.spec`. */ conversationMetadataFields: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; }, { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; }>>; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; headers?: Record | undefined; projectId?: string | undefined; publicKey?: string | undefined; secretKey?: string | undefined; secretKeyPreview?: string | undefined; destination?: string | undefined; trace?: { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; } | undefined; }, { enabled?: boolean | undefined; headers?: Record | undefined; projectId?: string | undefined; publicKey?: string | undefined; secretKey?: string | undefined; secretKeyPreview?: string | undefined; destination?: string | undefined; trace?: { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; } | undefined; }>>; memory: z.ZodOptional; validKeys: z.ZodOptional>; tokenLimit: z.ZodOptional; charLimit: z.ZodDefault>; maxInputTokens: z.ZodDefault>; personalize: z.ZodDefault; messageWindowSize: z.ZodDefault>; agent: z.ZodOptional; id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; enabled?: boolean | undefined; }, { id: string; enabled?: boolean | undefined; }>, z.ZodObject<{ enabled: z.ZodOptional; provider: z.ZodString; model: z.ZodString; instructions: z.ZodOptional; model_parameters: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { provider: string; model: string; instructions?: string | undefined; model_parameters?: Record | undefined; enabled?: boolean | undefined; }, { provider: string; model: string; instructions?: string | undefined; model_parameters?: Record | undefined; enabled?: boolean | undefined; }>]>>; }, "strip", z.ZodTypeAny, { charLimit: number; maxInputTokens: number; personalize: boolean; messageWindowSize: number; agent?: { id: string; enabled?: boolean | undefined; } | { provider: string; model: string; instructions?: string | undefined; model_parameters?: Record | undefined; enabled?: boolean | undefined; } | undefined; disabled?: boolean | undefined; validKeys?: string[] | undefined; tokenLimit?: number | undefined; }, { agent?: { id: string; enabled?: boolean | undefined; } | { provider: string; model: string; instructions?: string | undefined; model_parameters?: Record | undefined; enabled?: boolean | undefined; } | undefined; disabled?: boolean | undefined; validKeys?: string[] | undefined; tokenLimit?: number | undefined; charLimit?: number | undefined; maxInputTokens?: number | undefined; personalize?: boolean | undefined; messageWindowSize?: number | undefined; }>>; summarization: z.ZodOptional; provider: z.ZodOptional; model: z.ZodOptional; parameters: z.ZodOptional>>; trigger: z.ZodOptional; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "token_ratio"; value: number; }, { type: "token_ratio"; value: number; }>, z.ZodObject<{ type: z.ZodLiteral<"remaining_tokens">; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "remaining_tokens"; value: number; }, { type: "remaining_tokens"; value: number; }>, z.ZodObject<{ type: z.ZodLiteral<"messages_to_refine">; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "messages_to_refine"; value: number; }, { type: "messages_to_refine"; value: number; }>]>>; prompt: z.ZodOptional; updatePrompt: z.ZodOptional; reserveRatio: z.ZodOptional; maxSummaryTokens: z.ZodOptional; contextPruning: z.ZodOptional; keepLastAssistants: z.ZodOptional; softTrimRatio: z.ZodOptional; hardClearRatio: z.ZodOptional; minPrunableToolChars: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; }, { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; }>>; retainRecent: z.ZodOptional; tokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { turns?: number | undefined; tokens?: number | undefined; }, { turns?: number | undefined; tokens?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { prompt?: string | undefined; provider?: string | undefined; model?: string | undefined; enabled?: boolean | undefined; parameters?: Record | undefined; trigger?: { type: "token_ratio"; value: number; } | { type: "remaining_tokens"; value: number; } | { type: "messages_to_refine"; value: number; } | undefined; updatePrompt?: string | undefined; reserveRatio?: number | undefined; maxSummaryTokens?: number | undefined; contextPruning?: { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; } | undefined; retainRecent?: { turns?: number | undefined; tokens?: number | undefined; } | undefined; }, { prompt?: string | undefined; provider?: string | undefined; model?: string | undefined; enabled?: boolean | undefined; parameters?: Record | undefined; trigger?: { type: "token_ratio"; value: number; } | { type: "remaining_tokens"; value: number; } | { type: "messages_to_refine"; value: number; } | undefined; updatePrompt?: string | undefined; reserveRatio?: number | undefined; maxSummaryTokens?: number | undefined; contextPruning?: { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; } | undefined; retainRecent?: { turns?: number | undefined; tokens?: number | undefined; } | undefined; }>>; skillSync: z.ZodOptional; intervalMinutes: z.ZodDefault; runOnStartup: z.ZodDefault; sources: z.ZodDefault, string, string>, string, string>, string, string>, string, string>, string, string>>; paths: z.ZodArray, string, string>, string, string>, string, string>, string, string>, "many">; skillDiscoveryDepth: z.ZodOptional; credentialKey: z.ZodOptional; token: z.ZodOptional; tenantId: z.ZodOptional, string, string>>; }, "strip", z.ZodTypeAny, { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }, { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }>, { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }, { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { enabled: boolean; intervalMinutes: number; runOnStartup: boolean; sources: { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[]; }, { enabled?: boolean | undefined; intervalMinutes?: number | undefined; runOnStartup?: boolean | undefined; sources?: { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[] | undefined; }>, { enabled: boolean; intervalMinutes: number; runOnStartup: boolean; sources: { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[]; }, { enabled?: boolean | undefined; intervalMinutes?: number | undefined; runOnStartup?: boolean | undefined; sources?: { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[] | undefined; }>>; }, "strip", z.ZodTypeAny, { github?: { enabled: boolean; intervalMinutes: number; runOnStartup: boolean; sources: { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[]; } | undefined; }, { github?: { enabled?: boolean | undefined; intervalMinutes?: number | undefined; runOnStartup?: boolean | undefined; sources?: { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[] | undefined; } | undefined; }>>; secureImageLinks: z.ZodOptional; imageOutputType: z.ZodDefault>; includedTools: z.ZodOptional>; filteredTools: z.ZodOptional>; mcpServers: z.ZodOptional; description: z.ZodOptional; startup: z.ZodOptional; iconPath: z.ZodOptional; timeout: z.ZodOptional; sseReadTimeout: z.ZodOptional; initTimeout: z.ZodOptional; chatMenu: z.ZodOptional; serverInstructions: z.ZodOptional>; requiresOAuth: z.ZodOptional; oauth: z.ZodOptional, z.ZodString>>; token_url: z.ZodOptional, z.ZodString>>; client_id: z.ZodOptional; client_secret: z.ZodOptional; scope: z.ZodOptional; redirect_uri: z.ZodOptional, z.ZodString>>; token_exchange_method: z.ZodOptional>; grant_types_supported: z.ZodOptional>; token_endpoint_auth_methods_supported: z.ZodOptional>; response_types_supported: z.ZodOptional>; code_challenge_methods_supported: z.ZodOptional>; skip_code_challenge_check: z.ZodOptional; audience: z.ZodOptional; forward_audience_on_refresh: z.ZodOptional; revocation_endpoint: z.ZodOptional, z.ZodString>>; revocation_endpoint_auth_methods_supported: z.ZodOptional>; }, "strip", z.ZodTypeAny, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>>; oauth_headers: z.ZodOptional>; apiKey: z.ZodOptional; source: z.ZodEnum<["admin", "user"]>; authorization_type: z.ZodEnum<["basic", "bearer", "custom"]>; custom_header: z.ZodOptional; }, "strip", z.ZodTypeAny, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }>>; customUserVars: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; title: string; sensitive?: boolean | undefined; }, { description: string; title: string; sensitive?: boolean | undefined; }>>>; } & { type: z.ZodDefault>; obo: z.ZodOptional; command: z.ZodString; args: z.ZodArray; env: z.ZodEffects>, Record | undefined, Record | undefined>; stderr: z.ZodOptional, z.ZodNumber]>>; cwd: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "stdio"; command: string; args: string[]; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; env?: Record | undefined; cwd?: string | undefined; stderr?: number | "pipe" | "ignore" | "inherit" | undefined; obo?: undefined; }, { command: string; args: string[]; type?: "stdio" | undefined; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; env?: Record | undefined; cwd?: string | undefined; stderr?: number | "pipe" | "ignore" | "inherit" | undefined; obo?: undefined; }>, z.ZodObject<{ title: z.ZodOptional; description: z.ZodOptional; startup: z.ZodOptional; iconPath: z.ZodOptional; timeout: z.ZodOptional; sseReadTimeout: z.ZodOptional; initTimeout: z.ZodOptional; chatMenu: z.ZodOptional; serverInstructions: z.ZodOptional>; requiresOAuth: z.ZodOptional; oauth: z.ZodOptional, z.ZodString>>; token_url: z.ZodOptional, z.ZodString>>; client_id: z.ZodOptional; client_secret: z.ZodOptional; scope: z.ZodOptional; redirect_uri: z.ZodOptional, z.ZodString>>; token_exchange_method: z.ZodOptional>; grant_types_supported: z.ZodOptional>; token_endpoint_auth_methods_supported: z.ZodOptional>; response_types_supported: z.ZodOptional>; code_challenge_methods_supported: z.ZodOptional>; skip_code_challenge_check: z.ZodOptional; audience: z.ZodOptional; forward_audience_on_refresh: z.ZodOptional; revocation_endpoint: z.ZodOptional, z.ZodString>>; revocation_endpoint_auth_methods_supported: z.ZodOptional>; }, "strip", z.ZodTypeAny, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>>; oauth_headers: z.ZodOptional>; apiKey: z.ZodOptional; source: z.ZodEnum<["admin", "user"]>; authorization_type: z.ZodEnum<["basic", "bearer", "custom"]>; custom_header: z.ZodOptional; }, "strip", z.ZodTypeAny, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }>>; customUserVars: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; title: string; sensitive?: boolean | undefined; }, { description: string; title: string; sensitive?: boolean | undefined; }>>>; } & { type: z.ZodDefault>; obo: z.ZodOptional; url: z.ZodEffects, z.ZodString>, string, string>; }, "strip", z.ZodTypeAny, { type: "websocket"; url: string; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: undefined; }, { url: string; type?: "websocket" | undefined; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: undefined; }>, z.ZodObject<{ title: z.ZodOptional; description: z.ZodOptional; startup: z.ZodOptional; iconPath: z.ZodOptional; timeout: z.ZodOptional; sseReadTimeout: z.ZodOptional; initTimeout: z.ZodOptional; chatMenu: z.ZodOptional; serverInstructions: z.ZodOptional>; requiresOAuth: z.ZodOptional; oauth: z.ZodOptional, z.ZodString>>; token_url: z.ZodOptional, z.ZodString>>; client_id: z.ZodOptional; client_secret: z.ZodOptional; scope: z.ZodOptional; redirect_uri: z.ZodOptional, z.ZodString>>; token_exchange_method: z.ZodOptional>; grant_types_supported: z.ZodOptional>; token_endpoint_auth_methods_supported: z.ZodOptional>; response_types_supported: z.ZodOptional>; code_challenge_methods_supported: z.ZodOptional>; skip_code_challenge_check: z.ZodOptional; audience: z.ZodOptional; forward_audience_on_refresh: z.ZodOptional; revocation_endpoint: z.ZodOptional, z.ZodString>>; revocation_endpoint_auth_methods_supported: z.ZodOptional>; }, "strip", z.ZodTypeAny, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>>; oauth_headers: z.ZodOptional>; apiKey: z.ZodOptional; source: z.ZodEnum<["admin", "user"]>; authorization_type: z.ZodEnum<["basic", "bearer", "custom"]>; custom_header: z.ZodOptional; }, "strip", z.ZodTypeAny, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }>>; customUserVars: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; title: string; sensitive?: boolean | undefined; }, { description: string; title: string; sensitive?: boolean | undefined; }>>>; } & { type: z.ZodDefault>; headers: z.ZodOptional>; obo: z.ZodOptional>; proxy: z.ZodOptional, z.ZodString>, string, string>>; url: z.ZodEffects, z.ZodString>, string, string>; }, "strip", z.ZodTypeAny, { type: "sse"; url: string; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; headers?: Record | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: { scopes: string; } | undefined; proxy?: string | undefined; }, { url: string; type?: "sse" | undefined; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; headers?: Record | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: { scopes: string; } | undefined; proxy?: string | undefined; }>, z.ZodObject<{ title: z.ZodOptional; description: z.ZodOptional; startup: z.ZodOptional; iconPath: z.ZodOptional; timeout: z.ZodOptional; sseReadTimeout: z.ZodOptional; initTimeout: z.ZodOptional; chatMenu: z.ZodOptional; serverInstructions: z.ZodOptional>; requiresOAuth: z.ZodOptional; oauth: z.ZodOptional, z.ZodString>>; token_url: z.ZodOptional, z.ZodString>>; client_id: z.ZodOptional; client_secret: z.ZodOptional; scope: z.ZodOptional; redirect_uri: z.ZodOptional, z.ZodString>>; token_exchange_method: z.ZodOptional>; grant_types_supported: z.ZodOptional>; token_endpoint_auth_methods_supported: z.ZodOptional>; response_types_supported: z.ZodOptional>; code_challenge_methods_supported: z.ZodOptional>; skip_code_challenge_check: z.ZodOptional; audience: z.ZodOptional; forward_audience_on_refresh: z.ZodOptional; revocation_endpoint: z.ZodOptional, z.ZodString>>; revocation_endpoint_auth_methods_supported: z.ZodOptional>; }, "strip", z.ZodTypeAny, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>>; oauth_headers: z.ZodOptional>; apiKey: z.ZodOptional; source: z.ZodEnum<["admin", "user"]>; authorization_type: z.ZodEnum<["basic", "bearer", "custom"]>; custom_header: z.ZodOptional; }, "strip", z.ZodTypeAny, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }>>; customUserVars: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; title: string; sensitive?: boolean | undefined; }, { description: string; title: string; sensitive?: boolean | undefined; }>>>; } & { type: z.ZodUnion<[z.ZodLiteral<"streamable-http">, z.ZodLiteral<"http">]>; headers: z.ZodOptional>; obo: z.ZodOptional>; proxy: z.ZodOptional, z.ZodString>, string, string>>; url: z.ZodEffects, z.ZodString>, string, string>; }, "strip", z.ZodTypeAny, { type: "streamable-http" | "http"; url: string; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; headers?: Record | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: { scopes: string; } | undefined; proxy?: string | undefined; }, { type: "streamable-http" | "http"; url: string; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; headers?: Record | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: { scopes: string; } | undefined; proxy?: string | undefined; }>]>>>; mcpSettings: z.ZodOptional>; allowedAddresses: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; catalogRecovery: z.ZodDefault>; discoveryTimeoutMs: z.ZodDefault; /** How long past `discoveryTimeoutMs` a stalled discovery may hold its catalog slot and * coalesced requests. It is never cancelled, so OAuth tokens it redeemed still persist, * and no other discovery for the same server state starts until it settles. */ discoverySettleGraceMs: z.ZodDefault; reauthRetryMs: z.ZodDefault; maxStateEntries: z.ZodDefault; /** Process-wide: how many discoveries released past `discoverySettleGraceMs` may still be * running before recovery starts no new discovery until one settles. The default matches * the three catalog slots a stalled dependency could hold before discoveries were released. */ maxDetachedDiscoveries: z.ZodDefault; generationReadTimeoutMs: z.ZodDefault; authorizationFenceRetryMs: z.ZodDefault>; authorizationFenceTimeoutMs: z.ZodDefault; authorizationFenceRetryIntervalMs: z.ZodDefault; authorizationFenceRetryBatchSize: z.ZodDefault; }, "strip", z.ZodTypeAny, { discoveryBackoffMs: number[]; discoveryTimeoutMs: number; discoverySettleGraceMs: number; reauthRetryMs: number; maxStateEntries: number; maxDetachedDiscoveries: number; generationReadTimeoutMs: number; authorizationFenceRetryMs: number[]; authorizationFenceTimeoutMs: number; authorizationFenceRetryIntervalMs: number; authorizationFenceRetryBatchSize: number; }, { discoveryBackoffMs?: number[] | undefined; discoveryTimeoutMs?: number | undefined; discoverySettleGraceMs?: number | undefined; reauthRetryMs?: number | undefined; maxStateEntries?: number | undefined; maxDetachedDiscoveries?: number | undefined; generationReadTimeoutMs?: number | undefined; authorizationFenceRetryMs?: number[] | undefined; authorizationFenceTimeoutMs?: number | undefined; authorizationFenceRetryIntervalMs?: number | undefined; authorizationFenceRetryBatchSize?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { catalogRecovery: { discoveryBackoffMs: number[]; discoveryTimeoutMs: number; discoverySettleGraceMs: number; reauthRetryMs: number; maxStateEntries: number; maxDetachedDiscoveries: number; generationReadTimeoutMs: number; authorizationFenceRetryMs: number[]; authorizationFenceTimeoutMs: number; authorizationFenceRetryIntervalMs: number; authorizationFenceRetryBatchSize: number; }; allowedAddresses?: string[] | undefined; allowedDomains?: string[] | undefined; }, { allowedAddresses?: string[] | undefined; allowedDomains?: string[] | undefined; catalogRecovery?: { discoveryBackoffMs?: number[] | undefined; discoveryTimeoutMs?: number | undefined; discoverySettleGraceMs?: number | undefined; reauthRetryMs?: number | undefined; maxStateEntries?: number | undefined; maxDetachedDiscoveries?: number | undefined; generationReadTimeoutMs?: number | undefined; authorizationFenceRetryMs?: number[] | undefined; authorizationFenceTimeoutMs?: number | undefined; authorizationFenceRetryIntervalMs?: number | undefined; authorizationFenceRetryBatchSize?: number | undefined; } | undefined; }>>; interface: z.ZodDefault; openNewTab: z.ZodOptional; }, "strip", z.ZodTypeAny, { externalUrl?: string | undefined; openNewTab?: boolean | undefined; }, { externalUrl?: string | undefined; openNewTab?: boolean | undefined; }>>; termsOfService: z.ZodOptional; openNewTab: z.ZodOptional; modalAcceptance: z.ZodOptional; modalTitle: z.ZodOptional; modalContent: z.ZodOptional]>>; }, "strip", z.ZodTypeAny, { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; }, { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; }>>; customWelcome: z.ZodOptional; mcpServers: z.ZodOptional; statusRefreshInterval: z.ZodOptional; placeholder: z.ZodOptional; use: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; configureObo: z.ZodOptional; trustCheckbox: z.ZodOptional]>>; subLabel: z.ZodOptional]>>; }, "strip", z.ZodTypeAny, { label?: string | Record | undefined; subLabel?: string | Record | undefined; }, { label?: string | Record | undefined; subLabel?: string | Record | undefined; }>>; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; }, { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; }>>>; modelSelect: z.ZodOptional; parameters: z.ZodOptional; multiConvo: z.ZodOptional; bookmarks: z.ZodOptional; memories: z.ZodOptional; presets: z.ZodOptional; prompts: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }>]>>; agents: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }>]>>; temporaryChat: z.ZodOptional; temporaryChatRetention: z.ZodOptional; generalChatRetention: z.ZodOptional; autoSubmitFromUrl: z.ZodOptional; retentionMode: z.ZodDefault>; retainAgentFiles: z.ZodOptional; runCode: z.ZodOptional; webSearch: z.ZodOptional; contextUsage: z.ZodOptional; contextCost: z.ZodOptional; feedback: z.ZodOptional; currency: z.ZodOptional>; peoplePicker: z.ZodOptional; groups: z.ZodOptional; roles: z.ZodOptional; }, "strip", z.ZodTypeAny, { users?: boolean | undefined; groups?: boolean | undefined; roles?: boolean | undefined; }, { users?: boolean | undefined; groups?: boolean | undefined; roles?: boolean | undefined; }>>; marketplace: z.ZodOptional; }, "strip", z.ZodTypeAny, { use?: boolean | undefined; }, { use?: boolean | undefined; }>>; fileSearch: z.ZodOptional; fileCitations: z.ZodOptional; traceViewer: z.ZodOptional; /** Returns observation input, output and metadata in the record inspector. */ showInputOutput: z.ZodOptional; /** Observations read from the tracing backend per request. */ maxRecords: z.ZodOptional; /** Characters kept from each input, output and metadata value before truncation. */ maxContentLength: z.ZodOptional; /** Trace reads one user may start per minute. */ requestsPerMinute: z.ZodOptional; /** Budget for each round trip to the tracing backend, in milliseconds. */ requestTimeoutMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; }, { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; }>>; /** Tool keys (and `'mcp'` or an MCP server name) pinned to the prompt bar by default */ defaultPinnedTools: z.ZodOptional>; buildInfo: z.ZodOptional; remoteAgents: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }>>; skills: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; defaultActiveOnShare: z.ZodOptional; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; defaultActiveOnShare?: boolean | undefined; }, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; defaultActiveOnShare?: boolean | undefined; }>]>>; sharedLinks: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; snapshotFiles: z.ZodOptional; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; share?: boolean | undefined; create?: boolean | undefined; snapshotFiles?: boolean | undefined; }, { public?: boolean | undefined; share?: boolean | undefined; create?: boolean | undefined; snapshotFiles?: boolean | undefined; }>]>>; schedules: z.ZodOptional; create: z.ZodOptional; maxPerUser: z.ZodOptional; minIntervalMinutes: z.ZodOptional; autoDisableAfterFailures: z.ZodOptional; admissionConcurrency: z.ZodOptional; fireConcurrency: z.ZodOptional; mcpPreflightConcurrency: z.ZodOptional; mcpPreflightTimeoutMs: z.ZodOptional; /** Refuse schedules that are not filed under a chat project. Enforced on * create/update AND at every fire, so raising it later stops schedules * that predate the policy instead of grandfathering them. */ requireProject: z.ZodOptional; /** Pins every scheduled run to ONE chat project, ignoring any client * choice. Implies `requireProject`. The project must belong to the * schedule's owner, so a deployment-wide value only makes sense with a * per-user/per-role config override. */ projectId: z.ZodOptional; }, "strip", z.ZodTypeAny, { maxPerUser?: number | undefined; projectId?: string | undefined; use?: boolean | undefined; create?: boolean | undefined; minIntervalMinutes?: number | undefined; autoDisableAfterFailures?: number | undefined; admissionConcurrency?: number | undefined; fireConcurrency?: number | undefined; mcpPreflightConcurrency?: number | undefined; mcpPreflightTimeoutMs?: number | undefined; requireProject?: boolean | undefined; }, { maxPerUser?: number | undefined; projectId?: string | undefined; use?: boolean | undefined; create?: boolean | undefined; minIntervalMinutes?: number | undefined; autoDisableAfterFailures?: number | undefined; admissionConcurrency?: number | undefined; fireConcurrency?: number | undefined; mcpPreflightConcurrency?: number | undefined; mcpPreflightTimeoutMs?: number | undefined; requireProject?: boolean | undefined; }>]>>; }, "strip", z.ZodTypeAny, { retentionMode: RetentionMode; agents?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; skills?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; defaultActiveOnShare?: boolean | undefined; } | undefined; feedback?: boolean | undefined; prompts?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; memories?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; mcpServers?: { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; } | undefined; parameters?: boolean | undefined; privacyPolicy?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; } | undefined; termsOfService?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; } | undefined; customWelcome?: string | undefined; modelSelect?: boolean | undefined; multiConvo?: boolean | undefined; bookmarks?: boolean | undefined; presets?: boolean | undefined; temporaryChat?: boolean | undefined; temporaryChatRetention?: number | undefined; generalChatRetention?: number | undefined; autoSubmitFromUrl?: boolean | undefined; retainAgentFiles?: boolean | undefined; runCode?: boolean | undefined; contextUsage?: boolean | undefined; contextCost?: boolean | undefined; currency?: { code: string; rate: number; } | undefined; peoplePicker?: { users?: boolean | undefined; groups?: boolean | undefined; roles?: boolean | undefined; } | undefined; marketplace?: { use?: boolean | undefined; } | undefined; fileCitations?: boolean | undefined; traceViewer?: { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; } | undefined; defaultPinnedTools?: string[] | undefined; buildInfo?: boolean | undefined; remoteAgents?: { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; sharedLinks?: boolean | { public?: boolean | undefined; share?: boolean | undefined; create?: boolean | undefined; snapshotFiles?: boolean | undefined; } | undefined; schedules?: boolean | { maxPerUser?: number | undefined; projectId?: string | undefined; use?: boolean | undefined; create?: boolean | undefined; minIntervalMinutes?: number | undefined; autoDisableAfterFailures?: number | undefined; admissionConcurrency?: number | undefined; fireConcurrency?: number | undefined; mcpPreflightConcurrency?: number | undefined; mcpPreflightTimeoutMs?: number | undefined; requireProject?: boolean | undefined; } | undefined; }, { agents?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; skills?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; defaultActiveOnShare?: boolean | undefined; } | undefined; feedback?: boolean | undefined; prompts?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; memories?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; mcpServers?: { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; } | undefined; parameters?: boolean | undefined; privacyPolicy?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; } | undefined; termsOfService?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; } | undefined; customWelcome?: string | undefined; modelSelect?: boolean | undefined; multiConvo?: boolean | undefined; bookmarks?: boolean | undefined; presets?: boolean | undefined; temporaryChat?: boolean | undefined; temporaryChatRetention?: number | undefined; generalChatRetention?: number | undefined; autoSubmitFromUrl?: boolean | undefined; retentionMode?: RetentionMode | undefined; retainAgentFiles?: boolean | undefined; runCode?: boolean | undefined; contextUsage?: boolean | undefined; contextCost?: boolean | undefined; currency?: { code: string; rate: number; } | undefined; peoplePicker?: { users?: boolean | undefined; groups?: boolean | undefined; roles?: boolean | undefined; } | undefined; marketplace?: { use?: boolean | undefined; } | undefined; fileCitations?: boolean | undefined; traceViewer?: { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; } | undefined; defaultPinnedTools?: string[] | undefined; buildInfo?: boolean | undefined; remoteAgents?: { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; sharedLinks?: boolean | { public?: boolean | undefined; share?: boolean | undefined; create?: boolean | undefined; snapshotFiles?: boolean | undefined; } | undefined; schedules?: boolean | { maxPerUser?: number | undefined; projectId?: string | undefined; use?: boolean | undefined; create?: boolean | undefined; minIntervalMinutes?: number | undefined; autoDisableAfterFailures?: number | undefined; admissionConcurrency?: number | undefined; fireConcurrency?: number | undefined; mcpPreflightConcurrency?: number | undefined; mcpPreflightTimeoutMs?: number | undefined; requireProject?: boolean | undefined; } | undefined; }>>; turnstile: z.ZodOptional; size: z.ZodDefault>; }, "strip", z.ZodTypeAny, { language: string; size: "compact" | "normal" | "flexible" | "invisible"; }, { language?: string | undefined; size?: "compact" | "normal" | "flexible" | "invisible" | undefined; }>>>; }, "strip", z.ZodTypeAny, { siteKey: string; options?: { language: string; size: "compact" | "normal" | "flexible" | "invisible"; } | undefined; }, { siteKey: string; options?: { language?: string | undefined; size?: "compact" | "normal" | "flexible" | "invisible" | undefined; } | undefined; }>>; fileStrategy: z.ZodDefault>; fileStrategies: z.ZodOptional>; avatar: z.ZodOptional>; image: z.ZodOptional>; document: z.ZodOptional>; skills: z.ZodOptional>; }, "strip", z.ZodTypeAny, { avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; skills?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; }, { avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; skills?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; }>>; cloudfront: z.ZodOptional; invalidateOnDelete: z.ZodDefault; imageSigning: z.ZodDefault>; urlExpiry: z.ZodDefault; cookieExpiry: z.ZodDefault; cookieDomain: z.ZodOptional>; storageRegion: z.ZodOptional; includeRegionInPath: z.ZodDefault; requireSignedAccess: z.ZodDefault; }, "strip", z.ZodTypeAny, { domain: string; invalidateOnDelete: boolean; imageSigning: "none" | "url" | "cookies"; urlExpiry: number; cookieExpiry: number; includeRegionInPath: boolean; requireSignedAccess: boolean; distributionId?: string | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; }, { domain: string; distributionId?: string | undefined; invalidateOnDelete?: boolean | undefined; imageSigning?: "none" | "url" | "cookies" | undefined; urlExpiry?: number | undefined; cookieExpiry?: number | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; includeRegionInPath?: boolean | undefined; requireSignedAccess?: boolean | undefined; }>, { domain: string; invalidateOnDelete: boolean; imageSigning: "none" | "url" | "cookies"; urlExpiry: number; cookieExpiry: number; includeRegionInPath: boolean; requireSignedAccess: boolean; distributionId?: string | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; }, { domain: string; distributionId?: string | undefined; invalidateOnDelete?: boolean | undefined; imageSigning?: "none" | "url" | "cookies" | undefined; urlExpiry?: number | undefined; cookieExpiry?: number | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; includeRegionInPath?: boolean | undefined; requireSignedAccess?: boolean | undefined; }>, { domain: string; invalidateOnDelete: boolean; imageSigning: "none" | "url" | "cookies"; urlExpiry: number; cookieExpiry: number; includeRegionInPath: boolean; requireSignedAccess: boolean; distributionId?: string | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; }, { domain: string; distributionId?: string | undefined; invalidateOnDelete?: boolean | undefined; imageSigning?: "none" | "url" | "cookies" | undefined; urlExpiry?: number | undefined; cookieExpiry?: number | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; includeRegionInPath?: boolean | undefined; requireSignedAccess?: boolean | undefined; }>, { domain: string; invalidateOnDelete: boolean; imageSigning: "none" | "url" | "cookies"; urlExpiry: number; cookieExpiry: number; includeRegionInPath: boolean; requireSignedAccess: boolean; distributionId?: string | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; }, { domain: string; distributionId?: string | undefined; invalidateOnDelete?: boolean | undefined; imageSigning?: "none" | "url" | "cookies" | undefined; urlExpiry?: number | undefined; cookieExpiry?: number | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; includeRegionInPath?: boolean | undefined; requireSignedAccess?: boolean | undefined; }>>; actions: z.ZodOptional>; allowedAddresses: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; }, "strip", z.ZodTypeAny, { allowedAddresses?: string[] | undefined; allowedDomains?: string[] | undefined; }, { allowedAddresses?: string[] | undefined; allowedDomains?: string[] | undefined; }>>; registration: z.ZodDefault>; allowedDomains: z.ZodOptional>; }, "strip", z.ZodTypeAny, { allowedDomains?: string[] | undefined; socialLogins?: string[] | undefined; }, { allowedDomains?: string[] | undefined; socialLogins?: string[] | undefined; }>>; balance: z.ZodOptional>; startBalance: z.ZodDefault>; autoRefillEnabled: z.ZodDefault>; refillIntervalValue: z.ZodDefault>; refillIntervalUnit: z.ZodDefault>>; refillAmount: z.ZodDefault>; }, "strip", z.ZodTypeAny, { enabled: boolean; startBalance: number; autoRefillEnabled: boolean; refillIntervalValue: number; refillIntervalUnit: "seconds" | "minutes" | "hours" | "days" | "weeks" | "months"; refillAmount: number; }, { enabled?: boolean | undefined; startBalance?: number | undefined; autoRefillEnabled?: boolean | undefined; refillIntervalValue?: number | undefined; refillIntervalUnit?: "seconds" | "minutes" | "hours" | "days" | "weeks" | "months" | undefined; refillAmount?: number | undefined; }>>; transactions: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled: boolean; }, { enabled?: boolean | undefined; }>>; speech: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; openai: z.ZodOptional; apiKey: z.ZodString; apiKeyPreview: z.ZodOptional; model: z.ZodString; voices: z.ZodArray; }, "strip", z.ZodTypeAny, { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; }, { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; }>>; azureOpenAI: z.ZodOptional; deploymentName: z.ZodString; apiVersion: z.ZodString; model: z.ZodString; voices: z.ZodArray; }, "strip", z.ZodTypeAny, { model: string; apiKey: string; voices: string[]; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; }, { model: string; apiKey: string; voices: string[]; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; }>>; elevenlabs: z.ZodOptional; websocketUrl: z.ZodOptional; apiKey: z.ZodString; apiKeyPreview: z.ZodOptional; model: z.ZodString; voices: z.ZodArray; voice_settings: z.ZodOptional; stability: z.ZodOptional; style: z.ZodOptional; use_speaker_boost: z.ZodOptional; }, "strip", z.ZodTypeAny, { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; }, { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; }>>; pronunciation_dictionary_locators: z.ZodOptional>; }, "strip", z.ZodTypeAny, { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; }, { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; }>>; localai: z.ZodOptional; apiKeyPreview: z.ZodOptional; voices: z.ZodArray; backend: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; }, { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { azureOpenAI?: { model: string; apiKey: string; voices: string[]; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; elevenlabs?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; } | undefined; localai?: { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; }, { azureOpenAI?: { model: string; apiKey: string; voices: string[]; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; elevenlabs?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; } | undefined; localai?: { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; }>>; stt: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; openai: z.ZodOptional; apiKey: z.ZodString; apiKeyPreview: z.ZodOptional; model: z.ZodString; }, "strip", z.ZodTypeAny, { model: string; apiKey: string; url?: string | undefined; apiKeyPreview?: string | undefined; }, { model: string; apiKey: string; url?: string | undefined; apiKeyPreview?: string | undefined; }>>; azureOpenAI: z.ZodOptional; deploymentName: z.ZodString; apiVersion: z.ZodString; }, "strip", z.ZodTypeAny, { apiKey: string; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; }, { apiKey: string; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { azureOpenAI?: { apiKey: string; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; }, { azureOpenAI?: { apiKey: string; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; }>>; speechTab: z.ZodOptional; advancedMode: z.ZodOptional; speechToText: z.ZodOptional, z.ZodObject<{ /** Provider names remain valid for backward compatibility and are normalized for clients. */ engineSTT: z.ZodOptional>; languageSTT: z.ZodOptional; autoTranscribeAudio: z.ZodOptional; decibelValue: z.ZodOptional; autoSendText: z.ZodOptional; }, "strip", z.ZodTypeAny, { engineSTT?: "azureOpenAI" | "openai" | "browser" | "external" | undefined; languageSTT?: string | undefined; autoTranscribeAudio?: boolean | undefined; decibelValue?: number | undefined; autoSendText?: number | undefined; }, { engineSTT?: "azureOpenAI" | "openai" | "browser" | "external" | undefined; languageSTT?: string | undefined; autoTranscribeAudio?: boolean | undefined; decibelValue?: number | undefined; autoSendText?: number | undefined; }>]>>; textToSpeech: z.ZodOptional, z.ZodObject<{ /** Provider names remain valid for backward compatibility and are normalized for clients. */ engineTTS: z.ZodOptional>; voice: z.ZodOptional; languageTTS: z.ZodOptional; automaticPlayback: z.ZodOptional; playbackRate: z.ZodOptional; cacheTTS: z.ZodOptional; }, "strip", z.ZodTypeAny, { engineTTS?: "azureOpenAI" | "openai" | "elevenlabs" | "localai" | "browser" | "external" | undefined; voice?: string | undefined; languageTTS?: string | undefined; automaticPlayback?: boolean | undefined; playbackRate?: number | undefined; cacheTTS?: boolean | undefined; }, { engineTTS?: "azureOpenAI" | "openai" | "elevenlabs" | "localai" | "browser" | "external" | undefined; voice?: string | undefined; languageTTS?: string | undefined; automaticPlayback?: boolean | undefined; playbackRate?: number | undefined; cacheTTS?: boolean | undefined; }>]>>; }, "strip", z.ZodTypeAny, { conversationMode?: boolean | undefined; advancedMode?: boolean | undefined; speechToText?: boolean | { engineSTT?: "azureOpenAI" | "openai" | "browser" | "external" | undefined; languageSTT?: string | undefined; autoTranscribeAudio?: boolean | undefined; decibelValue?: number | undefined; autoSendText?: number | undefined; } | undefined; textToSpeech?: boolean | { engineTTS?: "azureOpenAI" | "openai" | "elevenlabs" | "localai" | "browser" | "external" | undefined; voice?: string | undefined; languageTTS?: string | undefined; automaticPlayback?: boolean | undefined; playbackRate?: number | undefined; cacheTTS?: boolean | undefined; } | undefined; }, { conversationMode?: boolean | undefined; advancedMode?: boolean | undefined; speechToText?: boolean | { engineSTT?: "azureOpenAI" | "openai" | "browser" | "external" | undefined; languageSTT?: string | undefined; autoTranscribeAudio?: boolean | undefined; decibelValue?: number | undefined; autoSendText?: number | undefined; } | undefined; textToSpeech?: boolean | { engineTTS?: "azureOpenAI" | "openai" | "elevenlabs" | "localai" | "browser" | "external" | undefined; voice?: string | undefined; languageTTS?: string | undefined; automaticPlayback?: boolean | undefined; playbackRate?: number | undefined; cacheTTS?: boolean | undefined; } | undefined; }>>>; }, "strip", z.ZodTypeAny, { tts?: { azureOpenAI?: { model: string; apiKey: string; voices: string[]; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; elevenlabs?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; } | undefined; localai?: { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; } | undefined; stt?: { azureOpenAI?: { apiKey: string; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; } | undefined; speechTab?: { conversationMode?: boolean | undefined; advancedMode?: boolean | undefined; speechToText?: boolean | { engineSTT?: "azureOpenAI" | "openai" | "browser" | "external" | undefined; languageSTT?: string | undefined; autoTranscribeAudio?: boolean | undefined; decibelValue?: number | undefined; autoSendText?: number | undefined; } | undefined; textToSpeech?: boolean | { engineTTS?: "azureOpenAI" | "openai" | "elevenlabs" | "localai" | "browser" | "external" | undefined; voice?: string | undefined; languageTTS?: string | undefined; automaticPlayback?: boolean | undefined; playbackRate?: number | undefined; cacheTTS?: boolean | undefined; } | undefined; } | undefined; }, { tts?: { azureOpenAI?: { model: string; apiKey: string; voices: string[]; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; elevenlabs?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; } | undefined; localai?: { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; } | undefined; stt?: { azureOpenAI?: { apiKey: string; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; } | undefined; speechTab?: { conversationMode?: boolean | undefined; advancedMode?: boolean | undefined; speechToText?: boolean | { engineSTT?: "azureOpenAI" | "openai" | "browser" | "external" | undefined; languageSTT?: string | undefined; autoTranscribeAudio?: boolean | undefined; decibelValue?: number | undefined; autoSendText?: number | undefined; } | undefined; textToSpeech?: boolean | { engineTTS?: "azureOpenAI" | "openai" | "elevenlabs" | "localai" | "browser" | "external" | undefined; voice?: string | undefined; languageTTS?: string | undefined; automaticPlayback?: boolean | undefined; playbackRate?: number | undefined; cacheTTS?: boolean | undefined; } | undefined; } | undefined; }>>; rateLimits: z.ZodOptional; userWindowInMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; }, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; }>>; fileUploads: z.ZodOptional; ipWindowInMinutes: z.ZodOptional; userMax: z.ZodOptional; userWindowInMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }>>; conversationsImport: z.ZodOptional; ipWindowInMinutes: z.ZodOptional; userMax: z.ZodOptional; userWindowInMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }>>; tts: z.ZodOptional; ipWindowInMinutes: z.ZodOptional; userMax: z.ZodOptional; userWindowInMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }>>; stt: z.ZodOptional; ipWindowInMinutes: z.ZodOptional; userMax: z.ZodOptional; userWindowInMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { tts?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; stt?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; agentEvents?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; } | undefined; fileUploads?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; conversationsImport?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; }, { tts?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; stt?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; agentEvents?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; } | undefined; fileUploads?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; conversationsImport?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; }>>; fileConfig: z.ZodOptional; fileLimit: z.ZodOptional; fileSizeLimit: z.ZodOptional; totalSizeLimit: z.ZodOptional; supportedMimeTypes: z.ZodOptional>>; defaultLLMDeliveryPath: z.ZodOptional>; overrides: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; }, { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; }>>; legacyFileUploadUX: z.ZodOptional; }, "strip", z.ZodTypeAny, { disabled?: boolean | undefined; fileLimit?: number | undefined; fileSizeLimit?: number | undefined; totalSizeLimit?: number | undefined; supportedMimeTypes?: string[] | undefined; defaultLLMDeliveryPath?: { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; }, { disabled?: boolean | undefined; fileLimit?: number | undefined; fileSizeLimit?: number | undefined; totalSizeLimit?: number | undefined; supportedMimeTypes?: string[] | undefined; defaultLLMDeliveryPath?: { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; }>>>; skills: z.ZodOptional; }, "strip", z.ZodTypeAny, { fileSizeLimit?: number | undefined; }, { fileSizeLimit?: number | undefined; }>>; serverFileSizeLimit: z.ZodOptional; avatarSizeLimit: z.ZodOptional; fileTokenLimit: z.ZodOptional; fileContextSizeLimit: z.ZodOptional; fileContextCharLimit: z.ZodOptional; codeEnvLivenessSafeWindowMs: z.ZodOptional; imageGeneration: z.ZodOptional; px: z.ZodOptional; }, "strip", z.ZodTypeAny, { percentage?: number | undefined; px?: number | undefined; }, { percentage?: number | undefined; px?: number | undefined; }>>; clientImageResize: z.ZodOptional; maxWidth: z.ZodOptional; maxHeight: z.ZodOptional; quality: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; maxWidth?: number | undefined; maxHeight?: number | undefined; quality?: number | undefined; }, { enabled?: boolean | undefined; maxWidth?: number | undefined; maxHeight?: number | undefined; quality?: number | undefined; }>>; ocr: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { supportedMimeTypes?: string[] | undefined; }, { supportedMimeTypes?: string[] | undefined; }>>; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { supportedMimeTypes?: string[] | undefined; }, { supportedMimeTypes?: string[] | undefined; }>>; defaultLLMDeliveryPath: z.ZodOptional>; overrides: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; }, { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; }>>; legacyFileUploadUX: z.ZodOptional; }, "strip", z.ZodTypeAny, { ocr?: { supportedMimeTypes?: string[] | undefined; } | undefined; skills?: { fileSizeLimit?: number | undefined; } | undefined; text?: { supportedMimeTypes?: string[] | undefined; } | undefined; fileTokenLimit?: number | undefined; defaultLLMDeliveryPath?: { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; endpoints?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; }> | undefined; serverFileSizeLimit?: number | undefined; avatarSizeLimit?: number | undefined; fileContextSizeLimit?: number | undefined; fileContextCharLimit?: number | undefined; codeEnvLivenessSafeWindowMs?: number | undefined; imageGeneration?: { percentage?: number | undefined; px?: number | undefined; } | undefined; clientImageResize?: { enabled?: boolean | undefined; maxWidth?: number | undefined; maxHeight?: number | undefined; quality?: number | undefined; } | undefined; }, { ocr?: { supportedMimeTypes?: string[] | undefined; } | undefined; skills?: { fileSizeLimit?: number | undefined; } | undefined; text?: { supportedMimeTypes?: string[] | undefined; } | undefined; fileTokenLimit?: number | undefined; defaultLLMDeliveryPath?: { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; endpoints?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; }> | undefined; serverFileSizeLimit?: number | undefined; avatarSizeLimit?: number | undefined; fileContextSizeLimit?: number | undefined; fileContextCharLimit?: number | undefined; codeEnvLivenessSafeWindowMs?: number | undefined; imageGeneration?: { percentage?: number | undefined; px?: number | undefined; } | undefined; clientImageResize?: { enabled?: boolean | undefined; maxWidth?: number | undefined; maxHeight?: number | undefined; quality?: number | undefined; } | undefined; }>>; modelSpecs: z.ZodOptional; prioritize: z.ZodDefault; list: z.ZodDefault; context: z.ZodOptional>; artifacts: z.ZodOptional; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; model: z.ZodOptional>; endpointType: z.ZodOptional>>; archivedAt: z.ZodOptional>; pinned: z.ZodOptional; isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; resendFiles: z.ZodOptional; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; append_current_datetime: z.ZodOptional; stop: z.ZodOptional>; greeting: z.ZodOptional; iconURL: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; } & { endpoint: z.ZodOptional, z.ZodString]>>>; }, "strip", z.ZodTypeAny, { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: number | undefined; }, { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: string | number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: string | number | undefined; }>, { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: number | undefined; }, { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: string | number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: string | number | undefined; }>; order: z.ZodOptional; default: z.ZodOptional; softDefault: z.ZodOptional; description: z.ZodOptional; group: z.ZodOptional; groupIcon: z.ZodOptional]>>; showIconInMenu: z.ZodOptional; showIconInHeader: z.ZodOptional; showOnLanding: z.ZodOptional; conversation_starters: z.ZodOptional>; showInMenu: z.ZodOptional; iconURL: z.ZodOptional]>>; authType: z.ZodOptional>; hideBadgeRow: z.ZodOptional; webSearch: z.ZodOptional; fileSearch: z.ZodOptional; executeCode: z.ZodOptional; memory: z.ZodOptional; askUserQuestion: z.ZodOptional; runInBackground: z.ZodOptional]>>; describeIntent: z.ZodOptional]>>; artifacts: z.ZodOptional>; mcpServers: z.ZodOptional>; skills: z.ZodOptional]>>; subagents: z.ZodOptional; allowSelf: z.ZodOptional; shareFiles: z.ZodOptional; agent_ids: z.ZodOptional>; }, "strip", z.ZodTypeAny, { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; }, { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; }>, { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; }, { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { name: string; label: string; preset: { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: number | undefined; }; group?: string | undefined; description?: string | undefined; default?: boolean | undefined; memory?: boolean | undefined; artifacts?: string | boolean | undefined; skills?: boolean | string[] | undefined; subagents?: { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; } | undefined; conversation_starters?: string[] | undefined; iconURL?: string | undefined; order?: number | undefined; softDefault?: boolean | undefined; groupIcon?: string | undefined; showIconInMenu?: boolean | undefined; showIconInHeader?: boolean | undefined; showOnLanding?: boolean | undefined; showInMenu?: boolean | undefined; authType?: import("./schemas").AuthType | undefined; hideBadgeRow?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; executeCode?: boolean | undefined; askUserQuestion?: boolean | undefined; runInBackground?: boolean | string[] | undefined; describeIntent?: boolean | string[] | undefined; mcpServers?: string[] | undefined; }, { name: string; label: string; preset: { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: string | number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: string | number | undefined; }; group?: string | undefined; description?: string | undefined; default?: boolean | undefined; memory?: boolean | undefined; artifacts?: string | boolean | undefined; skills?: boolean | string[] | undefined; subagents?: { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; } | undefined; conversation_starters?: string[] | undefined; iconURL?: string | undefined; order?: number | undefined; softDefault?: boolean | undefined; groupIcon?: string | undefined; showIconInMenu?: boolean | undefined; showIconInHeader?: boolean | undefined; showOnLanding?: boolean | undefined; showInMenu?: boolean | undefined; authType?: import("./schemas").AuthType | undefined; hideBadgeRow?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; executeCode?: boolean | undefined; askUserQuestion?: boolean | undefined; runInBackground?: boolean | string[] | undefined; describeIntent?: boolean | string[] | undefined; mcpServers?: string[] | undefined; }>, "many">>; addedEndpoints: z.ZodOptional]>, "many">>; }, "strip", z.ZodTypeAny, { list: { name: string; label: string; preset: { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: number | undefined; }; group?: string | undefined; description?: string | undefined; default?: boolean | undefined; memory?: boolean | undefined; artifacts?: string | boolean | undefined; skills?: boolean | string[] | undefined; subagents?: { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; } | undefined; conversation_starters?: string[] | undefined; iconURL?: string | undefined; order?: number | undefined; softDefault?: boolean | undefined; groupIcon?: string | undefined; showIconInMenu?: boolean | undefined; showIconInHeader?: boolean | undefined; showOnLanding?: boolean | undefined; showInMenu?: boolean | undefined; authType?: import("./schemas").AuthType | undefined; hideBadgeRow?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; executeCode?: boolean | undefined; askUserQuestion?: boolean | undefined; runInBackground?: boolean | string[] | undefined; describeIntent?: boolean | string[] | undefined; mcpServers?: string[] | undefined; }[]; enforce: boolean; prioritize: boolean; addedEndpoints?: string[] | undefined; }, { list?: { name: string; label: string; preset: { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: string | number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: string | number | undefined; }; group?: string | undefined; description?: string | undefined; default?: boolean | undefined; memory?: boolean | undefined; artifacts?: string | boolean | undefined; skills?: boolean | string[] | undefined; subagents?: { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; } | undefined; conversation_starters?: string[] | undefined; iconURL?: string | undefined; order?: number | undefined; softDefault?: boolean | undefined; groupIcon?: string | undefined; showIconInMenu?: boolean | undefined; showIconInHeader?: boolean | undefined; showOnLanding?: boolean | undefined; showInMenu?: boolean | undefined; authType?: import("./schemas").AuthType | undefined; hideBadgeRow?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; executeCode?: boolean | undefined; askUserQuestion?: boolean | undefined; runInBackground?: boolean | string[] | undefined; describeIntent?: boolean | string[] | undefined; mcpServers?: string[] | undefined; }[] | undefined; enforce?: boolean | undefined; prioritize?: boolean | undefined; addedEndpoints?: string[] | undefined; }>>; filters: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; unattributedAssistantContent: z.ZodOptional>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; unattributedAssistantContent?: "model_output" | "inspect" | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; unattributedAssistantContent?: "model_output" | "inspect" | undefined; }>>; prompts: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; agentInstructions: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; conversationStarters: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; conversationTitles: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; feedback: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; skills: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; memories: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; files: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; } & { uninspectable: z.ZodOptional>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; } | undefined; }>>; toolArguments: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; modelParameters: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; actionMetadata: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; }, "strict", z.ZodTypeAny, { skills?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; messages?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; unattributedAssistantContent?: "model_output" | "inspect" | undefined; } | undefined; feedback?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; prompts?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; agentInstructions?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationStarters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationTitles?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; memories?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; files?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; } | undefined; } | undefined; toolArguments?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; modelParameters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; actionMetadata?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; }, { skills?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; messages?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; unattributedAssistantContent?: "model_output" | "inspect" | undefined; } | undefined; feedback?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; prompts?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; agentInstructions?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationStarters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationTitles?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; memories?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; files?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; } | undefined; } | undefined; toolArguments?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; modelParameters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; actionMetadata?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; }>, { skills?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; messages?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; unattributedAssistantContent?: "model_output" | "inspect" | undefined; } | undefined; feedback?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; prompts?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; agentInstructions?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationStarters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationTitles?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; memories?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; files?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; } | undefined; } | undefined; toolArguments?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; modelParameters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; actionMetadata?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; }, { skills?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; messages?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; unattributedAssistantContent?: "model_output" | "inspect" | undefined; } | undefined; feedback?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; prompts?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; agentInstructions?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationStarters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationTitles?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; memories?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; files?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; } | undefined; } | undefined; toolArguments?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; modelParameters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; actionMetadata?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; }>>; messageFilter: z.ZodOptional>; customPatterns: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strip", z.ZodTypeAny, { pii?: { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; endpoints: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; /** * Defaults applied to every endpoint. Omit-based, so options added to * `baseEndpointSchema` are inherited here automatically — no list to * maintain (contrast `azureEndpointSchema`, which enumerates via * `.pick()`). Resolution order at read sites is `all` > the named * endpoint > a custom endpoint's own config. */ all: z.ZodOptional; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; }, "baseURL">, "strip", z.ZodTypeAny, { streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; }, { streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; }>>; openAI: z.ZodOptional; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; }, "strip", z.ZodTypeAny, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; }, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; }>>; google: z.ZodOptional; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; }, "strip", z.ZodTypeAny, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; }, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; }>>; anthropic: z.ZodOptional; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; } & { /** Vertex AI configuration for running Anthropic models on Google Cloud */ vertex: z.ZodOptional; /** Google Cloud Project ID (optional - auto-detected from service key file if not provided) */ projectId: z.ZodOptional; /** Vertex AI region (e.g., 'us-east5', 'europe-west1') */ region: z.ZodDefault; /** Optional: Path to service account key file */ serviceKeyFile: z.ZodOptional; /** Optional: Default deployment name for all models (can be overridden per model) */ deploymentName: z.ZodOptional; /** Optional: Available models - can be string array or object with deploymentName mapping */ models: z.ZodOptional, z.ZodRecord; }, "strip", z.ZodTypeAny, { deploymentName?: string | undefined; }, { deploymentName?: string | undefined; }>, z.ZodBoolean]>>]>>; }, "strip", z.ZodTypeAny, { region: string; enabled?: boolean | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; }, { enabled?: boolean | undefined; region?: string | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; }>>; /** Optional: List of available models */ models: z.ZodOptional>; }, "strip", z.ZodTypeAny, { vertex?: { region: string; enabled?: boolean | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; }, { vertex?: { enabled?: boolean | undefined; region?: string | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; }>>; azureOpenAI: z.ZodOptional; version: z.ZodOptional; assistants: z.ZodOptional; }, "strip", z.ZodTypeAny, { assistants?: boolean | undefined; version?: string | undefined; deploymentName?: string | undefined; }, { assistants?: boolean | undefined; version?: string | undefined; deploymentName?: string | undefined; }>, z.ZodBoolean]>>; }, "strip", z.ZodTypeAny, { group: string; models: Record; }, { group: string; models: Record; }>, z.ZodObject<{ apiKey: z.ZodString; serverless: z.ZodOptional; instanceName: z.ZodOptional; deploymentName: z.ZodOptional; assistants: z.ZodOptional; addParams: z.ZodOptional, z.ZodTypeDef, Record>>; dropParams: z.ZodOptional>; version: z.ZodOptional; baseURL: z.ZodOptional; additionalHeaders: z.ZodOptional>; }, "strip", z.ZodTypeAny, { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; }, { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; }>>, "many">; assistants: z.ZodOptional; }, "strip", z.ZodTypeAny, { groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; }, { groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; }>, z.ZodObject<{ streamRate: z.ZodOptional>; titlePrompt: z.ZodOptional>; titleModel: z.ZodOptional>; titleConvo: z.ZodOptional>; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>>; titlePromptTemplate: z.ZodOptional>; titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>>; activityLabel: z.ZodOptional>; activityModel: z.ZodOptional>; activityEndpoint: z.ZodOptional>; activityPrompt: z.ZodOptional>; activityMaxPerRun: z.ZodOptional>; activityCharLimit: z.ZodOptional>; activityPhaseLabel: z.ZodOptional>; activityPhaseModel: z.ZodOptional>; activityPhaseEndpoint: z.ZodOptional>; activityPhasePrompt: z.ZodOptional>; activityPhaseMaxPerRun: z.ZodOptional>; reasoningLabel: z.ZodOptional>; reasoningLabelModel: z.ZodOptional>; reasoningLabelEndpoint: z.ZodOptional>; reasoningLabelPrompt: z.ZodOptional>; reasoningLabelMinChars: z.ZodOptional>; reasoningLabelUpdateChars: z.ZodOptional>; reasoningLabelUpdateIntervalMs: z.ZodOptional>; reasoningLabelMaxPerRun: z.ZodOptional>; }, "strip", z.ZodTypeAny, { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }, { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }>>>; azureAssistants: z.ZodOptional; baseURL: z.ZodOptional; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; activityLabel: z.ZodOptional; activityModel: z.ZodOptional; activityEndpoint: z.ZodOptional; activityPrompt: z.ZodOptional; activityMaxPerRun: z.ZodOptional; activityCharLimit: z.ZodOptional; activityPhaseLabel: z.ZodOptional; activityPhaseModel: z.ZodOptional; activityPhaseEndpoint: z.ZodOptional; activityPhasePrompt: z.ZodOptional; activityPhaseMaxPerRun: z.ZodOptional; reasoningLabel: z.ZodOptional; reasoningLabelModel: z.ZodOptional; reasoningLabelEndpoint: z.ZodOptional; reasoningLabelPrompt: z.ZodOptional; reasoningLabelMinChars: z.ZodOptional; reasoningLabelUpdateChars: z.ZodOptional; reasoningLabelUpdateIntervalMs: z.ZodOptional; reasoningLabelMaxPerRun: z.ZodOptional; maxToolResultChars: z.ZodOptional; } & { disableBuilder: z.ZodOptional; pollIntervalMs: z.ZodOptional; timeoutMs: z.ZodOptional; version: z.ZodDefault>; supportedIds: z.ZodOptional>; excludedIds: z.ZodOptional>; privateAssistants: z.ZodOptional; retrievalModels: z.ZodDefault>>; capabilities: z.ZodDefault, "many">>>; apiKey: z.ZodOptional; apiKeyPreview: z.ZodOptional; models: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; }, { name: string; description?: string | undefined; }>]>, "many">; fetch: z.ZodOptional; userIdQuery: z.ZodOptional; }, "strip", z.ZodTypeAny, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }>>; headers: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string | number; capabilities: Capabilities[]; retrievalModels: string[]; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; }, { version?: string | number | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; capabilities?: Capabilities[] | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; retrievalModels?: string[] | undefined; }>>; assistants: z.ZodOptional; baseURL: z.ZodOptional; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; activityLabel: z.ZodOptional; activityModel: z.ZodOptional; activityEndpoint: z.ZodOptional; activityPrompt: z.ZodOptional; activityMaxPerRun: z.ZodOptional; activityCharLimit: z.ZodOptional; activityPhaseLabel: z.ZodOptional; activityPhaseModel: z.ZodOptional; activityPhaseEndpoint: z.ZodOptional; activityPhasePrompt: z.ZodOptional; activityPhaseMaxPerRun: z.ZodOptional; reasoningLabel: z.ZodOptional; reasoningLabelModel: z.ZodOptional; reasoningLabelEndpoint: z.ZodOptional; reasoningLabelPrompt: z.ZodOptional; reasoningLabelMinChars: z.ZodOptional; reasoningLabelUpdateChars: z.ZodOptional; reasoningLabelUpdateIntervalMs: z.ZodOptional; reasoningLabelMaxPerRun: z.ZodOptional; maxToolResultChars: z.ZodOptional; } & { disableBuilder: z.ZodOptional; pollIntervalMs: z.ZodOptional; timeoutMs: z.ZodOptional; version: z.ZodDefault>; supportedIds: z.ZodOptional>; excludedIds: z.ZodOptional>; privateAssistants: z.ZodOptional; retrievalModels: z.ZodDefault>>; capabilities: z.ZodDefault, "many">>>; apiKey: z.ZodOptional; apiKeyPreview: z.ZodOptional; models: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; }, { name: string; description?: string | undefined; }>]>, "many">; fetch: z.ZodOptional; userIdQuery: z.ZodOptional; }, "strip", z.ZodTypeAny, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }>>; headers: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string | number; capabilities: Capabilities[]; retrievalModels: string[]; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; }, { version?: string | number | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; capabilities?: Capabilities[] | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; retrievalModels?: string[] | undefined; }>>; agents: z.ZodOptional; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; }, "baseURL"> & { recursionLimit: z.ZodOptional; disableBuilder: z.ZodDefault>; maxRecursionLimit: z.ZodOptional; /** Max cumulative bytes a single streamed tool call's arguments may reach before the run * aborts. Defaults to 64 KiB in the agents SDK; `0` disables the guard. */ maxToolCallArgBytes: z.ZodOptional; /** Max streamed chunk events per model generation before the run aborts. Off by default. */ maxDeltaEventsPerTurn: z.ZodOptional; /** Per-tool overrides of `maxToolCallArgBytes`, keyed by model-facing tool name; `0` * disables the guard for that tool only. Merged over LibreChat's shipped default of * `{ create_file: 131072 }`. */ maxToolCallArgBytesByTool: z.ZodOptional>; maxCitations: z.ZodDefault>; maxCitationsPerFile: z.ZodDefault>; minRelevanceScore: z.ZodDefault>; /** Maximum explicit subagents per agent (`agent_ids` and `graphs`); raised from * the shipped default of 10 for orchestration-heavy deployments, bounded by * `MAX_SUBAGENTS_CEILING`. */ maxSubagents: z.ZodDefault>; /** Run-scoped file access for explicitly opted-in subagent delegations. */ fileSharing: z.ZodOptional>; allowSiblingSharing: z.ZodDefault>; maxFiles: z.ZodDefault>; /** Aggregate disk budget for private output versions retained during a run. */ maxPrivateBytes: z.ZodDefault>; ttlMs: z.ZodDefault>; }, "strip", z.ZodTypeAny, { enabled: boolean; allowSiblingSharing: boolean; maxFiles: number; maxPrivateBytes: number; ttlMs: number; }, { enabled?: boolean | undefined; allowSiblingSharing?: boolean | undefined; maxFiles?: number | undefined; maxPrivateBytes?: number | undefined; ttlMs?: number | undefined; }>>; /** Maximum concurrent Code API uploads per route and authenticated principal. */ codeApiUploadConcurrency: z.ZodDefault>; /** Maximum wall-clock time spent waiting on Code API rate limits per operation. */ codeApiMaxRetryWaitMs: z.ZodDefault>; allowedProviders: z.ZodOptional]>, "many">>; capabilities: z.ZodDefault, "many">>>; /** Controls which workspace-sharing scopes users may select for stateful code sessions. * Omit this block to preserve the legacy behavior of allowing every scope. */ statefulCodeSessions: z.ZodOptional, "many">; /** Server-only personal worker enrollment policy. Effective principal * policy may tighten, but never raise, the deployment ceiling. */ principalWorkers: z.ZodOptional; /** Defaults to five. Zero disables enrollment; existing machines remain usable. */ maxPerUser: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; maxPerUser?: number | undefined; }, { enabled?: boolean | undefined; maxPerUser?: number | undefined; }>>; /** Operator-managed execution environments. Attached entries route to a * Code API deployment backed by an outbound librechat-code worker. */ environments: z.ZodOptional; baseURL: z.ZodEffects; default: z.ZodOptional; /** Server-only outbound worker route. Removed from public config. */ workerId: z.ZodOptional; /** Distinguishes operator policy from a principal-authorized * environment merged into request-scoped server config. */ owner: z.ZodDefault>>; /** Administrator-controlled user-tunable settings. Only fields * represented here may be changed by a principal. */ configSchema: z.ZodOptional, "many">; default: z.ZodDefault>>; }, "strict", z.ZodTypeAny, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>>; commandExecution: z.ZodOptional, "many">; default: z.ZodDefault>>; }, "strict", z.ZodTypeAny, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>>; }, "strict", z.ZodTypeAny, { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; }, { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; }>>; limits: z.ZodOptional; }, "strict", z.ZodTypeAny, { maxCommandTimeoutMs?: number | undefined; }, { maxCommandTimeoutMs?: number | undefined; }>>; }, "strict", z.ZodTypeAny, { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; }, { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; }>>; /** Request-scoped effective settings for a principal-owned environment. * Deployment config should define defaults through configSchema instead. */ settings: z.ZodOptional>; commandExecution: z.ZodOptional>; }, "strict", z.ZodTypeAny, { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; }, { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; }>>; }, "strict", z.ZodTypeAny, { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; }, { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; }>>; /** Server-only enrollment metadata. `tokenEnv` names an * environment variable and never contains the token itself. */ pairing: z.ZodOptional; allowPrincipalWorkers: z.ZodDefault>; tokenEnv: z.ZodString; }, "strip", z.ZodTypeAny, { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; }, { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; }>, { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; }, { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }, { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }[] | undefined; }, { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }[] | undefined; }>, { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }[] | undefined; }, { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }[] | undefined; }>>; /** Optional trusted origin for in-process agent event delivery. */ eventDriven: z.ZodOptional; }, "strip", z.ZodTypeAny, { selfUrl?: string | undefined; }, { selfUrl?: string | undefined; }>>; /** Conversational background-task delivery policy. Automatic completion wakeups are * enabled unless an administrator explicitly restores poll-only behavior. */ backgroundTasks: z.ZodOptional>; /** Cooperative cancellation for process-local ordinary tools. Off * by default so existing deployments opt into the new control. */ ordinaryToolCancellation: z.ZodDefault>; }, "strip", z.ZodTypeAny, { completionWakeups: boolean; ordinaryToolCancellation: boolean; }, { completionWakeups?: boolean | undefined; ordinaryToolCancellation?: boolean | undefined; }>>; skills: z.ZodOptional; }, "strip", z.ZodTypeAny, { maxCatalogSkills?: number | undefined; }, { maxCatalogSkills?: number | undefined; }>>; managementApi: z.ZodOptional; issuer: z.ZodOptional>; audience: z.ZodOptional; jwksUri: z.ZodOptional>; }, "strict", z.ZodTypeAny, { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }, { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }>, { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }, { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }>; clients: z.ZodDefault; userId: z.ZodEffects; tenantId: z.ZodEffects; enabled: z.ZodDefault; }, "strict", z.ZodTypeAny, { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }, { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; }, { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; }>, { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; }, { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { auth?: { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; } | undefined; }, { auth?: { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; } | undefined; }>>; remoteApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled: boolean; }, { enabled?: boolean | undefined; }>>; oidc: z.ZodOptional; issuer: z.ZodOptional>; audience: z.ZodOptional; jwksUri: z.ZodOptional>; } & { scope: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; }, { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; }>, { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; }, { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { oidc?: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled: boolean; } | undefined; }, { oidc?: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled?: boolean | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { auth?: { oidc?: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled: boolean; } | undefined; } | undefined; }, { auth?: { oidc?: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled?: boolean | undefined; } | undefined; } | undefined; }>>; /** Human-in-the-loop tool approval policy. Off by default. */ toolApproval: z.ZodOptional; mode: z.ZodOptional>; allow: z.ZodOptional>; deny: z.ZodOptional>; ask: z.ZodOptional>; /** Optional reason template surfaced in the prompt; `{tool}` is interpolated. */ reason: z.ZodOptional; /** * Programmatic policy hooks loaded from modules at startup. They layer on top of the * static lists above for dynamic, context-aware decisions the lists can't express * (per-args, per-agent, per-user). See {@link toolApprovalHookConfigSchema}. * * BASE-CONFIG ONLY: hooks are imported + registered once, process-wide, at server * startup — they are NOT reloaded from per-role/user/tenant admin overrides. Encode * per-user/tenant behavior INSIDE the hook (via its runtime context), not by varying the * module list per override. Honored only when `enabled` is true. */ hooks: z.ZodOptional; /** Static options forwarded to the module's builder; the hook's own per-call config. */ options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { module: string; options?: Record | undefined; matcher?: string | undefined; }, { module: string; options?: Record | undefined; matcher?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; }, { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; }>>; /** Durable checkpointer backing tool-approval and Ask User resume. * Defaults to the app's MongoDB when either flow needs it. */ checkpointer: z.ZodOptional>; /** * Approval window, in seconds: how long a paused run waits for a decision * before it is reclaimed. Drives both the Mongo TTL index on checkpoints and * the pending-action expiry, keeping the two layers in lockstep. Defaults to * 86400 (24h). Raise it for longer review windows. */ ttl: z.ZodOptional; /** Advanced: override the Mongo collection names used for checkpoints. */ checkpointCollectionName: z.ZodOptional; checkpointWritesCollectionName: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; }, { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { disableBuilder: boolean; maxCitations: number; maxCitationsPerFile: number; minRelevanceScore: number; maxSubagents: number; codeApiUploadConcurrency: number; codeApiMaxRetryWaitMs: number; capabilities: AgentCapabilities[]; skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; fileSharing?: { enabled: boolean; allowSiblingSharing: boolean; maxFiles: number; maxPrivateBytes: number; ttlMs: number; } | undefined; allowedProviders?: string[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups: boolean; ordinaryToolCancellation: boolean; } | undefined; managementApi?: { auth?: { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled: boolean; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; }, { skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; disableBuilder?: boolean | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; maxCitations?: number | undefined; maxCitationsPerFile?: number | undefined; minRelevanceScore?: number | undefined; maxSubagents?: number | undefined; fileSharing?: { enabled?: boolean | undefined; allowSiblingSharing?: boolean | undefined; maxFiles?: number | undefined; maxPrivateBytes?: number | undefined; ttlMs?: number | undefined; } | undefined; codeApiUploadConcurrency?: number | undefined; codeApiMaxRetryWaitMs?: number | undefined; allowedProviders?: string[] | undefined; capabilities?: AgentCapabilities[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups?: boolean | undefined; ordinaryToolCancellation?: boolean | undefined; } | undefined; managementApi?: { auth?: { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled?: boolean | undefined; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; }>>>; custom: z.ZodOptional>; titlePrompt: z.ZodOptional>; titleModel: z.ZodOptional>; titleConvo: z.ZodOptional>; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>>; titleEndpoint: z.ZodOptional>; titlePromptTemplate: z.ZodOptional>; titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>>; activityLabel: z.ZodOptional>; activityModel: z.ZodOptional>; activityEndpoint: z.ZodOptional>; activityPrompt: z.ZodOptional>; activityMaxPerRun: z.ZodOptional>; activityCharLimit: z.ZodOptional>; activityPhaseLabel: z.ZodOptional>; activityPhaseModel: z.ZodOptional>; activityPhaseEndpoint: z.ZodOptional>; activityPhasePrompt: z.ZodOptional>; activityPhaseMaxPerRun: z.ZodOptional>; reasoningLabel: z.ZodOptional>; reasoningLabelModel: z.ZodOptional>; reasoningLabelEndpoint: z.ZodOptional>; reasoningLabelPrompt: z.ZodOptional>; reasoningLabelMinChars: z.ZodOptional>; reasoningLabelUpdateChars: z.ZodOptional>; reasoningLabelUpdateIntervalMs: z.ZodOptional>; reasoningLabelMaxPerRun: z.ZodOptional>; maxToolResultChars: z.ZodOptional>; name: z.ZodOptional>; apiKey: z.ZodOptional; apiKeyPreview: z.ZodOptional>; baseURL: z.ZodOptional; models: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; }, { name: string; description?: string | undefined; }>]>, "many">; fetch: z.ZodOptional; userIdQuery: z.ZodOptional; }, "strip", z.ZodTypeAny, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }>>; iconURL: z.ZodOptional>; modelDisplayLabel: z.ZodOptional>; provider: z.ZodOptional>>; headers: z.ZodOptional>>; addParams: z.ZodOptional, z.ZodTypeDef, Record>>>; dropParams: z.ZodOptional>>; customParams: z.ZodOptional; reasoningFormat: z.ZodOptional>; reasoningKey: z.ZodOptional>; /** Replays `reasoning_content` within a run's tool-call turns (e.g. Xiaomi MiMo, Kimi). */ includeReasoningContent: z.ZodOptional; /** Also reconstructs `reasoning_content` from persisted history across turns (implies `includeReasoningContent`). */ includeReasoningHistory: z.ZodOptional; paramDefinitions: z.ZodOptional; type: z.ZodOptional>; default: z.ZodOptional]>>; showLabel: z.ZodOptional; showDefault: z.ZodOptional; options: z.ZodOptional>; range: z.ZodOptional; positiveMin: z.ZodOptional; }, "strip", z.ZodTypeAny, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }>, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }>>; enumMappings: z.ZodOptional>>; component: z.ZodOptional>; optionType: z.ZodOptional>; columnSpan: z.ZodOptional; columns: z.ZodOptional; label: z.ZodOptional; placeholder: z.ZodOptional; labelCode: z.ZodOptional; placeholderCode: z.ZodOptional; descriptionCode: z.ZodOptional; minText: z.ZodOptional; maxText: z.ZodOptional; minTags: z.ZodOptional; maxTags: z.ZodOptional; includeInput: z.ZodOptional; descriptionSide: z.ZodOptional>; searchPlaceholder: z.ZodOptional; selectPlaceholder: z.ZodOptional; searchPlaceholderCode: z.ZodOptional; selectPlaceholderCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }, { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { defaultParamsEndpoint: string; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; }, { defaultParamsEndpoint?: string | undefined; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; }>>>; directEndpoint: z.ZodOptional>; titleMessageRole: z.ZodOptional>>; tokenConfig: z.ZodOptional; cacheWrite: z.ZodOptional; }, "strip", z.ZodTypeAny, { context: number; prompt: number; completion: number; cacheRead?: number | undefined; cacheWrite?: number | undefined; }, { context: number; prompt: number; completion: number; cacheRead?: number | undefined; cacheWrite?: number | undefined; }>>>>; }, "strip", z.ZodTypeAny, { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint: string; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }, { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint?: string | undefined; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }>, "many">>>; bedrock: z.ZodOptional; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; } & { availableRegions: z.ZodOptional>; models: z.ZodOptional>; guardrailConfig: z.ZodOptional>; streamProcessingMode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; }, { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; }>>; inferenceProfiles: z.ZodOptional>; }, "strip", z.ZodTypeAny, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; }, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; }>>; }, "strict", z.ZodTypeAny, { azureOpenAI?: ({ groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; } & { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }) | undefined; openAI?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; google?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; anthropic?: { vertex?: { region: string; enabled?: boolean | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; } | undefined; assistants?: { version: string | number; capabilities: Capabilities[]; retrievalModels: string[]; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; } | undefined; azureAssistants?: { version: string | number; capabilities: Capabilities[]; retrievalModels: string[]; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; } | undefined; agents?: { disableBuilder: boolean; maxCitations: number; maxCitationsPerFile: number; minRelevanceScore: number; maxSubagents: number; codeApiUploadConcurrency: number; codeApiMaxRetryWaitMs: number; capabilities: AgentCapabilities[]; skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; fileSharing?: { enabled: boolean; allowSiblingSharing: boolean; maxFiles: number; maxPrivateBytes: number; ttlMs: number; } | undefined; allowedProviders?: string[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups: boolean; ordinaryToolCancellation: boolean; } | undefined; managementApi?: { auth?: { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled: boolean; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; } | undefined; custom?: { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint: string; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }[] | undefined; bedrock?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; } | undefined; allowedAddresses?: string[] | undefined; all?: { streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; }, { azureOpenAI?: ({ groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; } & { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }) | undefined; openAI?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; google?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; anthropic?: { vertex?: { enabled?: boolean | undefined; region?: string | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; } | undefined; assistants?: { version?: string | number | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; capabilities?: Capabilities[] | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; retrievalModels?: string[] | undefined; } | undefined; azureAssistants?: { version?: string | number | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; capabilities?: Capabilities[] | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; retrievalModels?: string[] | undefined; } | undefined; agents?: { skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; disableBuilder?: boolean | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; maxCitations?: number | undefined; maxCitationsPerFile?: number | undefined; minRelevanceScore?: number | undefined; maxSubagents?: number | undefined; fileSharing?: { enabled?: boolean | undefined; allowSiblingSharing?: boolean | undefined; maxFiles?: number | undefined; maxPrivateBytes?: number | undefined; ttlMs?: number | undefined; } | undefined; codeApiUploadConcurrency?: number | undefined; codeApiMaxRetryWaitMs?: number | undefined; allowedProviders?: string[] | undefined; capabilities?: AgentCapabilities[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups?: boolean | undefined; ordinaryToolCancellation?: boolean | undefined; } | undefined; managementApi?: { auth?: { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled?: boolean | undefined; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; } | undefined; custom?: { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint?: string | undefined; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }[] | undefined; bedrock?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; } | undefined; allowedAddresses?: string[] | undefined; all?: { streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; }>, { azureOpenAI?: ({ groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; } & { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }) | undefined; openAI?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; google?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; anthropic?: { vertex?: { region: string; enabled?: boolean | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; } | undefined; assistants?: { version: string | number; capabilities: Capabilities[]; retrievalModels: string[]; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; } | undefined; azureAssistants?: { version: string | number; capabilities: Capabilities[]; retrievalModels: string[]; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; } | undefined; agents?: { disableBuilder: boolean; maxCitations: number; maxCitationsPerFile: number; minRelevanceScore: number; maxSubagents: number; codeApiUploadConcurrency: number; codeApiMaxRetryWaitMs: number; capabilities: AgentCapabilities[]; skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; fileSharing?: { enabled: boolean; allowSiblingSharing: boolean; maxFiles: number; maxPrivateBytes: number; ttlMs: number; } | undefined; allowedProviders?: string[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups: boolean; ordinaryToolCancellation: boolean; } | undefined; managementApi?: { auth?: { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled: boolean; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; } | undefined; custom?: { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint: string; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }[] | undefined; bedrock?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; } | undefined; allowedAddresses?: string[] | undefined; all?: { streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; }, { azureOpenAI?: ({ groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; } & { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }) | undefined; openAI?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; google?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; anthropic?: { vertex?: { enabled?: boolean | undefined; region?: string | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; } | undefined; assistants?: { version?: string | number | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; capabilities?: Capabilities[] | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; retrievalModels?: string[] | undefined; } | undefined; azureAssistants?: { version?: string | number | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; capabilities?: Capabilities[] | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; retrievalModels?: string[] | undefined; } | undefined; agents?: { skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; disableBuilder?: boolean | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; maxCitations?: number | undefined; maxCitationsPerFile?: number | undefined; minRelevanceScore?: number | undefined; maxSubagents?: number | undefined; fileSharing?: { enabled?: boolean | undefined; allowSiblingSharing?: boolean | undefined; maxFiles?: number | undefined; maxPrivateBytes?: number | undefined; ttlMs?: number | undefined; } | undefined; codeApiUploadConcurrency?: number | undefined; codeApiMaxRetryWaitMs?: number | undefined; allowedProviders?: string[] | undefined; capabilities?: AgentCapabilities[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups?: boolean | undefined; ordinaryToolCancellation?: boolean | undefined; } | undefined; managementApi?: { auth?: { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled?: boolean | undefined; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; } | undefined; custom?: { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint?: string | undefined; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }[] | undefined; bedrock?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; } | undefined; allowedAddresses?: string[] | undefined; all?: { streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { version: string; cache: boolean; imageOutputType: EImageOutputType; interface: { retentionMode: RetentionMode; agents?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; skills?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; defaultActiveOnShare?: boolean | undefined; } | undefined; feedback?: boolean | undefined; prompts?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; memories?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; mcpServers?: { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; } | undefined; parameters?: boolean | undefined; privacyPolicy?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; } | undefined; termsOfService?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; } | undefined; customWelcome?: string | undefined; modelSelect?: boolean | undefined; multiConvo?: boolean | undefined; bookmarks?: boolean | undefined; presets?: boolean | undefined; temporaryChat?: boolean | undefined; temporaryChatRetention?: number | undefined; generalChatRetention?: number | undefined; autoSubmitFromUrl?: boolean | undefined; retainAgentFiles?: boolean | undefined; runCode?: boolean | undefined; contextUsage?: boolean | undefined; contextCost?: boolean | undefined; currency?: { code: string; rate: number; } | undefined; peoplePicker?: { users?: boolean | undefined; groups?: boolean | undefined; roles?: boolean | undefined; } | undefined; marketplace?: { use?: boolean | undefined; } | undefined; fileCitations?: boolean | undefined; traceViewer?: { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; } | undefined; defaultPinnedTools?: string[] | undefined; buildInfo?: boolean | undefined; remoteAgents?: { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; sharedLinks?: boolean | { public?: boolean | undefined; share?: boolean | undefined; create?: boolean | undefined; snapshotFiles?: boolean | undefined; } | undefined; schedules?: boolean | { maxPerUser?: number | undefined; projectId?: string | undefined; use?: boolean | undefined; create?: boolean | undefined; minIntervalMinutes?: number | undefined; autoDisableAfterFailures?: number | undefined; admissionConcurrency?: number | undefined; fireConcurrency?: number | undefined; mcpPreflightConcurrency?: number | undefined; mcpPreflightTimeoutMs?: number | undefined; requireProject?: boolean | undefined; } | undefined; }; fileStrategy: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront; registration: { allowedDomains?: string[] | undefined; socialLogins?: string[] | undefined; }; memory?: { charLimit: number; maxInputTokens: number; personalize: boolean; messageWindowSize: number; agent?: { id: string; enabled?: boolean | undefined; } | { provider: string; model: string; instructions?: string | undefined; model_parameters?: Record | undefined; enabled?: boolean | undefined; } | undefined; disabled?: boolean | undefined; validKeys?: string[] | undefined; tokenLimit?: number | undefined; } | undefined; ocr?: { baseURL: string; apiKey: string; strategy: OCRStrategy; allowedAddresses?: string[] | undefined; mistralModel?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; actions?: { allowedAddresses?: string[] | undefined; allowedDomains?: string[] | undefined; } | undefined; webSearch?: { serperApiKey: string; searxngInstanceUrl: string; searxngApiKey: string; firecrawlApiKey: string; firecrawlApiUrl: string; firecrawlVersion: string; tavilyApiKey: string; tavilySearchUrl: string; tavilyExtractUrl: string; keenableApiKey: string; keenableApiUrl: string; jinaApiKey: string; jinaApiUrl: string; cohereApiKey: string; safeSearch: SafeSearchTypes; allowedAddresses?: string[] | undefined; serperApiKeyPreview?: string | undefined; searxngApiKeyPreview?: string | undefined; firecrawlApiKeyPreview?: string | undefined; tavilyApiKeyPreview?: string | undefined; jinaApiKeyPreview?: string | undefined; cohereApiKeyPreview?: string | undefined; searchProvider?: SearchProviders | undefined; scraperProvider?: ScraperProviders | undefined; rerankerType?: RerankerTypes | undefined; scraperTimeout?: number | undefined; firecrawlOptions?: { headers?: Record | undefined; timeout?: number | undefined; formats?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; waitFor?: number | undefined; maxAge?: number | undefined; mobile?: boolean | undefined; skipTlsVerification?: boolean | undefined; blockAds?: boolean | undefined; removeBase64Images?: boolean | undefined; parsePDF?: boolean | undefined; storeInCache?: boolean | undefined; zeroDataRetention?: boolean | undefined; location?: { country?: string | undefined; languages?: string[] | undefined; } | undefined; onlyMainContent?: boolean | undefined; changeTrackingOptions?: { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; } | undefined; } | undefined; searxngSearchOptions?: { timeout?: number | undefined; engines?: string | undefined; language?: string | undefined; timeRange?: "day" | "month" | "year" | undefined; } | undefined; tavilySearchOptions?: { timeout?: number | undefined; safeSearch?: boolean | undefined; timeRange?: "day" | "month" | "year" | "week" | "d" | "w" | "m" | "y" | undefined; searchDepth?: "basic" | "advanced" | "fast" | "ultra-fast" | undefined; maxResults?: number | undefined; includeImages?: boolean | undefined; includeAnswer?: boolean | "basic" | "advanced" | undefined; includeRawContent?: boolean | "text" | "markdown" | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; topic?: "general" | "news" | "finance" | undefined; includeImageDescriptions?: boolean | undefined; includeFavicon?: boolean | undefined; chunksPerSource?: number | undefined; } | undefined; tavilyScraperOptions?: { timeout?: number | undefined; includeImages?: boolean | undefined; includeFavicon?: boolean | undefined; extractDepth?: "basic" | "advanced" | undefined; format?: "text" | "markdown" | undefined; } | undefined; keenableSearchOptions?: { timeout?: number | undefined; maxResults?: number | undefined; site?: string | undefined; attributionTitle?: string | undefined; } | undefined; keenableScraperOptions?: { timeout?: number | undefined; attributionTitle?: string | undefined; } | undefined; } | undefined; mcpServers?: Record | undefined; customUserVars?: Record | undefined; env?: Record | undefined; cwd?: string | undefined; stderr?: number | "pipe" | "ignore" | "inherit" | undefined; obo?: undefined; } | { type: "websocket"; url: string; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: undefined; } | { type: "sse"; url: string; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; headers?: Record | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: { scopes: string; } | undefined; proxy?: string | undefined; } | { type: "streamable-http" | "http"; url: string; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; headers?: Record | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: { scopes: string; } | undefined; proxy?: string | undefined; }> | undefined; filters?: { skills?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; messages?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; unattributedAssistantContent?: "model_output" | "inspect" | undefined; } | undefined; feedback?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; prompts?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; agentInstructions?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationStarters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationTitles?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; memories?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; files?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; } | undefined; } | undefined; toolArguments?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; modelParameters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; actionMetadata?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; } | undefined; langfuse?: { enabled?: boolean | undefined; headers?: Record | undefined; projectId?: string | undefined; publicKey?: string | undefined; secretKey?: string | undefined; secretKeyPreview?: string | undefined; destination?: string | undefined; trace?: { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; } | undefined; } | undefined; cloudfront?: { domain: string; invalidateOnDelete: boolean; imageSigning: "none" | "url" | "cookies"; urlExpiry: number; cookieExpiry: number; includeRegionInPath: boolean; requireSignedAccess: boolean; distributionId?: string | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; } | undefined; summarization?: { prompt?: string | undefined; provider?: string | undefined; model?: string | undefined; enabled?: boolean | undefined; parameters?: Record | undefined; trigger?: { type: "token_ratio"; value: number; } | { type: "remaining_tokens"; value: number; } | { type: "messages_to_refine"; value: number; } | undefined; updatePrompt?: string | undefined; reserveRatio?: number | undefined; maxSummaryTokens?: number | undefined; contextPruning?: { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; } | undefined; retainRecent?: { turns?: number | undefined; tokens?: number | undefined; } | undefined; } | undefined; skillSync?: { github?: { enabled: boolean; intervalMinutes: number; runOnStartup: boolean; sources: { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[]; } | undefined; } | undefined; secureImageLinks?: boolean | undefined; includedTools?: string[] | undefined; filteredTools?: string[] | undefined; mcpSettings?: { catalogRecovery: { discoveryBackoffMs: number[]; discoveryTimeoutMs: number; discoverySettleGraceMs: number; reauthRetryMs: number; maxStateEntries: number; maxDetachedDiscoveries: number; generationReadTimeoutMs: number; authorizationFenceRetryMs: number[]; authorizationFenceTimeoutMs: number; authorizationFenceRetryIntervalMs: number; authorizationFenceRetryBatchSize: number; }; allowedAddresses?: string[] | undefined; allowedDomains?: string[] | undefined; } | undefined; turnstile?: { siteKey: string; options?: { language: string; size: "compact" | "normal" | "flexible" | "invisible"; } | undefined; } | undefined; fileStrategies?: { avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; skills?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; } | undefined; balance?: { enabled: boolean; startBalance: number; autoRefillEnabled: boolean; refillIntervalValue: number; refillIntervalUnit: "seconds" | "minutes" | "hours" | "days" | "weeks" | "months"; refillAmount: number; } | undefined; transactions?: { enabled: boolean; } | undefined; speech?: { tts?: { azureOpenAI?: { model: string; apiKey: string; voices: string[]; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; elevenlabs?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; } | undefined; localai?: { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; } | undefined; stt?: { azureOpenAI?: { apiKey: string; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; } | undefined; speechTab?: { conversationMode?: boolean | undefined; advancedMode?: boolean | undefined; speechToText?: boolean | { engineSTT?: "azureOpenAI" | "openai" | "browser" | "external" | undefined; languageSTT?: string | undefined; autoTranscribeAudio?: boolean | undefined; decibelValue?: number | undefined; autoSendText?: number | undefined; } | undefined; textToSpeech?: boolean | { engineTTS?: "azureOpenAI" | "openai" | "elevenlabs" | "localai" | "browser" | "external" | undefined; voice?: string | undefined; languageTTS?: string | undefined; automaticPlayback?: boolean | undefined; playbackRate?: number | undefined; cacheTTS?: boolean | undefined; } | undefined; } | undefined; } | undefined; rateLimits?: { tts?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; stt?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; agentEvents?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; } | undefined; fileUploads?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; conversationsImport?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; } | undefined; endpoints?: { azureOpenAI?: ({ groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; } & { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }) | undefined; openAI?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; google?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; anthropic?: { vertex?: { region: string; enabled?: boolean | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; } | undefined; assistants?: { version: string | number; capabilities: Capabilities[]; retrievalModels: string[]; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; } | undefined; azureAssistants?: { version: string | number; capabilities: Capabilities[]; retrievalModels: string[]; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; } | undefined; agents?: { disableBuilder: boolean; maxCitations: number; maxCitationsPerFile: number; minRelevanceScore: number; maxSubagents: number; codeApiUploadConcurrency: number; codeApiMaxRetryWaitMs: number; capabilities: AgentCapabilities[]; skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; fileSharing?: { enabled: boolean; allowSiblingSharing: boolean; maxFiles: number; maxPrivateBytes: number; ttlMs: number; } | undefined; allowedProviders?: string[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups: boolean; ordinaryToolCancellation: boolean; } | undefined; managementApi?: { auth?: { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled: boolean; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; } | undefined; custom?: { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint: string; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }[] | undefined; bedrock?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; } | undefined; allowedAddresses?: string[] | undefined; all?: { streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; } | undefined; fileConfig?: { ocr?: { supportedMimeTypes?: string[] | undefined; } | undefined; skills?: { fileSizeLimit?: number | undefined; } | undefined; text?: { supportedMimeTypes?: string[] | undefined; } | undefined; fileTokenLimit?: number | undefined; defaultLLMDeliveryPath?: { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; endpoints?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; }> | undefined; serverFileSizeLimit?: number | undefined; avatarSizeLimit?: number | undefined; fileContextSizeLimit?: number | undefined; fileContextCharLimit?: number | undefined; codeEnvLivenessSafeWindowMs?: number | undefined; imageGeneration?: { percentage?: number | undefined; px?: number | undefined; } | undefined; clientImageResize?: { enabled?: boolean | undefined; maxWidth?: number | undefined; maxHeight?: number | undefined; quality?: number | undefined; } | undefined; } | undefined; modelSpecs?: { list: { name: string; label: string; preset: { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: number | undefined; }; group?: string | undefined; description?: string | undefined; default?: boolean | undefined; memory?: boolean | undefined; artifacts?: string | boolean | undefined; skills?: boolean | string[] | undefined; subagents?: { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; } | undefined; conversation_starters?: string[] | undefined; iconURL?: string | undefined; order?: number | undefined; softDefault?: boolean | undefined; groupIcon?: string | undefined; showIconInMenu?: boolean | undefined; showIconInHeader?: boolean | undefined; showOnLanding?: boolean | undefined; showInMenu?: boolean | undefined; authType?: import("./schemas").AuthType | undefined; hideBadgeRow?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; executeCode?: boolean | undefined; askUserQuestion?: boolean | undefined; runInBackground?: boolean | string[] | undefined; describeIntent?: boolean | string[] | undefined; mcpServers?: string[] | undefined; }[]; enforce: boolean; prioritize: boolean; addedEndpoints?: string[] | undefined; } | undefined; messageFilter?: { pii?: { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; }, { version: string; memory?: { agent?: { id: string; enabled?: boolean | undefined; } | { provider: string; model: string; instructions?: string | undefined; model_parameters?: Record | undefined; enabled?: boolean | undefined; } | undefined; disabled?: boolean | undefined; validKeys?: string[] | undefined; tokenLimit?: number | undefined; charLimit?: number | undefined; maxInputTokens?: number | undefined; personalize?: boolean | undefined; messageWindowSize?: number | undefined; } | undefined; ocr?: { baseURL?: string | undefined; apiKey?: string | undefined; allowedAddresses?: string[] | undefined; mistralModel?: string | undefined; apiKeyPreview?: string | undefined; strategy?: OCRStrategy | undefined; } | undefined; actions?: { allowedAddresses?: string[] | undefined; allowedDomains?: string[] | undefined; } | undefined; webSearch?: { allowedAddresses?: string[] | undefined; serperApiKey?: string | undefined; serperApiKeyPreview?: string | undefined; searxngInstanceUrl?: string | undefined; searxngApiKey?: string | undefined; searxngApiKeyPreview?: string | undefined; firecrawlApiKey?: string | undefined; firecrawlApiKeyPreview?: string | undefined; firecrawlApiUrl?: string | undefined; firecrawlVersion?: string | undefined; tavilyApiKey?: string | undefined; tavilyApiKeyPreview?: string | undefined; tavilySearchUrl?: string | undefined; tavilyExtractUrl?: string | undefined; keenableApiKey?: string | undefined; keenableApiUrl?: string | undefined; jinaApiKey?: string | undefined; jinaApiKeyPreview?: string | undefined; jinaApiUrl?: string | undefined; cohereApiKey?: string | undefined; cohereApiKeyPreview?: string | undefined; searchProvider?: SearchProviders | undefined; scraperProvider?: ScraperProviders | undefined; rerankerType?: RerankerTypes | undefined; scraperTimeout?: number | undefined; safeSearch?: SafeSearchTypes | undefined; firecrawlOptions?: { headers?: Record | undefined; timeout?: number | undefined; formats?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; waitFor?: number | undefined; maxAge?: number | undefined; mobile?: boolean | undefined; skipTlsVerification?: boolean | undefined; blockAds?: boolean | undefined; removeBase64Images?: boolean | undefined; parsePDF?: boolean | undefined; storeInCache?: boolean | undefined; zeroDataRetention?: boolean | undefined; location?: { country?: string | undefined; languages?: string[] | undefined; } | undefined; onlyMainContent?: boolean | undefined; changeTrackingOptions?: { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; } | undefined; } | undefined; searxngSearchOptions?: { timeout?: number | undefined; engines?: string | string[] | undefined; language?: string | undefined; timeRange?: "day" | "month" | "year" | undefined; } | undefined; tavilySearchOptions?: { timeout?: number | undefined; safeSearch?: boolean | undefined; timeRange?: "day" | "month" | "year" | "week" | "d" | "w" | "m" | "y" | undefined; searchDepth?: "basic" | "advanced" | "fast" | "ultra-fast" | undefined; maxResults?: number | undefined; includeImages?: boolean | undefined; includeAnswer?: boolean | "basic" | "advanced" | undefined; includeRawContent?: boolean | "text" | "markdown" | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; topic?: "general" | "news" | "finance" | undefined; includeImageDescriptions?: boolean | undefined; includeFavicon?: boolean | undefined; chunksPerSource?: number | undefined; } | undefined; tavilyScraperOptions?: { timeout?: number | undefined; includeImages?: boolean | undefined; includeFavicon?: boolean | undefined; extractDepth?: "basic" | "advanced" | undefined; format?: "text" | "markdown" | undefined; } | undefined; keenableSearchOptions?: { timeout?: number | undefined; maxResults?: number | undefined; site?: string | undefined; attributionTitle?: string | undefined; } | undefined; keenableScraperOptions?: { timeout?: number | undefined; attributionTitle?: string | undefined; } | undefined; } | undefined; mcpServers?: Record | undefined; customUserVars?: Record | undefined; env?: Record | undefined; cwd?: string | undefined; stderr?: number | "pipe" | "ignore" | "inherit" | undefined; obo?: undefined; } | { url: string; type?: "websocket" | undefined; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: undefined; } | { url: string; type?: "sse" | undefined; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; headers?: Record | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: { scopes: string; } | undefined; proxy?: string | undefined; } | { type: "streamable-http" | "http"; url: string; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; headers?: Record | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: { scopes: string; } | undefined; proxy?: string | undefined; }> | undefined; filters?: { skills?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; messages?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; unattributedAssistantContent?: "model_output" | "inspect" | undefined; } | undefined; feedback?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; prompts?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; agentInstructions?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationStarters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationTitles?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; memories?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; files?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; } | undefined; } | undefined; toolArguments?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; modelParameters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; actionMetadata?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; } | undefined; langfuse?: { enabled?: boolean | undefined; headers?: Record | undefined; projectId?: string | undefined; publicKey?: string | undefined; secretKey?: string | undefined; secretKeyPreview?: string | undefined; destination?: string | undefined; trace?: { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; } | undefined; } | undefined; cloudfront?: { domain: string; distributionId?: string | undefined; invalidateOnDelete?: boolean | undefined; imageSigning?: "none" | "url" | "cookies" | undefined; urlExpiry?: number | undefined; cookieExpiry?: number | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; includeRegionInPath?: boolean | undefined; requireSignedAccess?: boolean | undefined; } | undefined; cache?: boolean | undefined; summarization?: { prompt?: string | undefined; provider?: string | undefined; model?: string | undefined; enabled?: boolean | undefined; parameters?: Record | undefined; trigger?: { type: "token_ratio"; value: number; } | { type: "remaining_tokens"; value: number; } | { type: "messages_to_refine"; value: number; } | undefined; updatePrompt?: string | undefined; reserveRatio?: number | undefined; maxSummaryTokens?: number | undefined; contextPruning?: { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; } | undefined; retainRecent?: { turns?: number | undefined; tokens?: number | undefined; } | undefined; } | undefined; skillSync?: { github?: { enabled?: boolean | undefined; intervalMinutes?: number | undefined; runOnStartup?: boolean | undefined; sources?: { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[] | undefined; } | undefined; } | undefined; secureImageLinks?: boolean | undefined; imageOutputType?: EImageOutputType | undefined; includedTools?: string[] | undefined; filteredTools?: string[] | undefined; mcpSettings?: { allowedAddresses?: string[] | undefined; allowedDomains?: string[] | undefined; catalogRecovery?: { discoveryBackoffMs?: number[] | undefined; discoveryTimeoutMs?: number | undefined; discoverySettleGraceMs?: number | undefined; reauthRetryMs?: number | undefined; maxStateEntries?: number | undefined; maxDetachedDiscoveries?: number | undefined; generationReadTimeoutMs?: number | undefined; authorizationFenceRetryMs?: number[] | undefined; authorizationFenceTimeoutMs?: number | undefined; authorizationFenceRetryIntervalMs?: number | undefined; authorizationFenceRetryBatchSize?: number | undefined; } | undefined; } | undefined; interface?: { agents?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; skills?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; defaultActiveOnShare?: boolean | undefined; } | undefined; feedback?: boolean | undefined; prompts?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; memories?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; mcpServers?: { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; } | undefined; parameters?: boolean | undefined; privacyPolicy?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; } | undefined; termsOfService?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; } | undefined; customWelcome?: string | undefined; modelSelect?: boolean | undefined; multiConvo?: boolean | undefined; bookmarks?: boolean | undefined; presets?: boolean | undefined; temporaryChat?: boolean | undefined; temporaryChatRetention?: number | undefined; generalChatRetention?: number | undefined; autoSubmitFromUrl?: boolean | undefined; retentionMode?: RetentionMode | undefined; retainAgentFiles?: boolean | undefined; runCode?: boolean | undefined; contextUsage?: boolean | undefined; contextCost?: boolean | undefined; currency?: { code: string; rate: number; } | undefined; peoplePicker?: { users?: boolean | undefined; groups?: boolean | undefined; roles?: boolean | undefined; } | undefined; marketplace?: { use?: boolean | undefined; } | undefined; fileCitations?: boolean | undefined; traceViewer?: { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; } | undefined; defaultPinnedTools?: string[] | undefined; buildInfo?: boolean | undefined; remoteAgents?: { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; sharedLinks?: boolean | { public?: boolean | undefined; share?: boolean | undefined; create?: boolean | undefined; snapshotFiles?: boolean | undefined; } | undefined; schedules?: boolean | { maxPerUser?: number | undefined; projectId?: string | undefined; use?: boolean | undefined; create?: boolean | undefined; minIntervalMinutes?: number | undefined; autoDisableAfterFailures?: number | undefined; admissionConcurrency?: number | undefined; fireConcurrency?: number | undefined; mcpPreflightConcurrency?: number | undefined; mcpPreflightTimeoutMs?: number | undefined; requireProject?: boolean | undefined; } | undefined; } | undefined; turnstile?: { siteKey: string; options?: { language?: string | undefined; size?: "compact" | "normal" | "flexible" | "invisible" | undefined; } | undefined; } | undefined; fileStrategy?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; fileStrategies?: { avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; skills?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; } | undefined; registration?: { allowedDomains?: string[] | undefined; socialLogins?: string[] | undefined; } | undefined; balance?: { enabled?: boolean | undefined; startBalance?: number | undefined; autoRefillEnabled?: boolean | undefined; refillIntervalValue?: number | undefined; refillIntervalUnit?: "seconds" | "minutes" | "hours" | "days" | "weeks" | "months" | undefined; refillAmount?: number | undefined; } | undefined; transactions?: { enabled?: boolean | undefined; } | undefined; speech?: { tts?: { azureOpenAI?: { model: string; apiKey: string; voices: string[]; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; elevenlabs?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; } | undefined; localai?: { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; } | undefined; stt?: { azureOpenAI?: { apiKey: string; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; } | undefined; speechTab?: { conversationMode?: boolean | undefined; advancedMode?: boolean | undefined; speechToText?: boolean | { engineSTT?: "azureOpenAI" | "openai" | "browser" | "external" | undefined; languageSTT?: string | undefined; autoTranscribeAudio?: boolean | undefined; decibelValue?: number | undefined; autoSendText?: number | undefined; } | undefined; textToSpeech?: boolean | { engineTTS?: "azureOpenAI" | "openai" | "elevenlabs" | "localai" | "browser" | "external" | undefined; voice?: string | undefined; languageTTS?: string | undefined; automaticPlayback?: boolean | undefined; playbackRate?: number | undefined; cacheTTS?: boolean | undefined; } | undefined; } | undefined; } | undefined; rateLimits?: { tts?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; stt?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; agentEvents?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; } | undefined; fileUploads?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; conversationsImport?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; } | undefined; endpoints?: { azureOpenAI?: ({ groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; } & { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }) | undefined; openAI?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; google?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; anthropic?: { vertex?: { enabled?: boolean | undefined; region?: string | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; } | undefined; assistants?: { version?: string | number | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; capabilities?: Capabilities[] | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; retrievalModels?: string[] | undefined; } | undefined; azureAssistants?: { version?: string | number | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; capabilities?: Capabilities[] | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; retrievalModels?: string[] | undefined; } | undefined; agents?: { skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; disableBuilder?: boolean | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; maxCitations?: number | undefined; maxCitationsPerFile?: number | undefined; minRelevanceScore?: number | undefined; maxSubagents?: number | undefined; fileSharing?: { enabled?: boolean | undefined; allowSiblingSharing?: boolean | undefined; maxFiles?: number | undefined; maxPrivateBytes?: number | undefined; ttlMs?: number | undefined; } | undefined; codeApiUploadConcurrency?: number | undefined; codeApiMaxRetryWaitMs?: number | undefined; allowedProviders?: string[] | undefined; capabilities?: AgentCapabilities[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups?: boolean | undefined; ordinaryToolCancellation?: boolean | undefined; } | undefined; managementApi?: { auth?: { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled?: boolean | undefined; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; } | undefined; custom?: { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint?: string | undefined; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }[] | undefined; bedrock?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; } | undefined; allowedAddresses?: string[] | undefined; all?: { streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; } | undefined; fileConfig?: { ocr?: { supportedMimeTypes?: string[] | undefined; } | undefined; skills?: { fileSizeLimit?: number | undefined; } | undefined; text?: { supportedMimeTypes?: string[] | undefined; } | undefined; fileTokenLimit?: number | undefined; defaultLLMDeliveryPath?: { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; endpoints?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; }> | undefined; serverFileSizeLimit?: number | undefined; avatarSizeLimit?: number | undefined; fileContextSizeLimit?: number | undefined; fileContextCharLimit?: number | undefined; codeEnvLivenessSafeWindowMs?: number | undefined; imageGeneration?: { percentage?: number | undefined; px?: number | undefined; } | undefined; clientImageResize?: { enabled?: boolean | undefined; maxWidth?: number | undefined; maxHeight?: number | undefined; quality?: number | undefined; } | undefined; } | undefined; modelSpecs?: { list?: { name: string; label: string; preset: { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: string | number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: string | number | undefined; }; group?: string | undefined; description?: string | undefined; default?: boolean | undefined; memory?: boolean | undefined; artifacts?: string | boolean | undefined; skills?: boolean | string[] | undefined; subagents?: { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; } | undefined; conversation_starters?: string[] | undefined; iconURL?: string | undefined; order?: number | undefined; softDefault?: boolean | undefined; groupIcon?: string | undefined; showIconInMenu?: boolean | undefined; showIconInHeader?: boolean | undefined; showOnLanding?: boolean | undefined; showInMenu?: boolean | undefined; authType?: import("./schemas").AuthType | undefined; hideBadgeRow?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; executeCode?: boolean | undefined; askUserQuestion?: boolean | undefined; runInBackground?: boolean | string[] | undefined; describeIntent?: boolean | string[] | undefined; mcpServers?: string[] | undefined; }[] | undefined; enforce?: boolean | undefined; prioritize?: boolean | undefined; addedEndpoints?: string[] | undefined; } | undefined; messageFilter?: { pii?: { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; }>; /** * Recursively makes all properties of T optional, including nested objects. * Handles arrays, primitives, functions, and Date objects correctly. */ export type DeepPartial = T extends (infer U)[] ? DeepPartial[] : T extends ReadonlyArray ? ReadonlyArray> : T extends Function ? T : T extends Date ? T : T extends object ? { [P in keyof T]?: DeepPartial; } : T; export declare const getConfigDefaults: () => ExtractDefaults<{ version: z.ZodString; cache: z.ZodDefault; ocr: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; mistralModel: z.ZodOptional; apiKey: z.ZodDefault>; apiKeyPreview: z.ZodOptional; baseURL: z.ZodDefault>; strategy: z.ZodDefault>; }, "strip", z.ZodTypeAny, { baseURL: string; apiKey: string; strategy: OCRStrategy; allowedAddresses?: string[] | undefined; mistralModel?: string | undefined; apiKeyPreview?: string | undefined; }, { baseURL?: string | undefined; apiKey?: string | undefined; allowedAddresses?: string[] | undefined; mistralModel?: string | undefined; apiKeyPreview?: string | undefined; strategy?: OCRStrategy | undefined; }>>; webSearch: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; serperApiKey: z.ZodDefault>; serperApiKeyPreview: z.ZodOptional; searxngInstanceUrl: z.ZodDefault>; searxngApiKey: z.ZodDefault>; searxngApiKeyPreview: z.ZodOptional; firecrawlApiKey: z.ZodDefault>; firecrawlApiKeyPreview: z.ZodOptional; firecrawlApiUrl: z.ZodDefault>; firecrawlVersion: z.ZodDefault>; tavilyApiKey: z.ZodDefault>; tavilyApiKeyPreview: z.ZodOptional; tavilySearchUrl: z.ZodDefault>; tavilyExtractUrl: z.ZodDefault>; keenableApiKey: z.ZodDefault>; keenableApiUrl: z.ZodDefault>; jinaApiKey: z.ZodDefault>; jinaApiKeyPreview: z.ZodOptional; jinaApiUrl: z.ZodDefault>; cohereApiKey: z.ZodDefault>; cohereApiKeyPreview: z.ZodOptional; searchProvider: z.ZodOptional>; scraperProvider: z.ZodOptional>; rerankerType: z.ZodOptional>; scraperTimeout: z.ZodOptional; safeSearch: z.ZodDefault>; firecrawlOptions: z.ZodOptional>; includeTags: z.ZodOptional>; excludeTags: z.ZodOptional>; headers: z.ZodOptional>; waitFor: z.ZodOptional; timeout: z.ZodOptional; maxAge: z.ZodOptional; mobile: z.ZodOptional; skipTlsVerification: z.ZodOptional; blockAds: z.ZodOptional; removeBase64Images: z.ZodOptional; parsePDF: z.ZodOptional; storeInCache: z.ZodOptional; zeroDataRetention: z.ZodOptional; location: z.ZodOptional; languages: z.ZodOptional>; }, "strip", z.ZodTypeAny, { country?: string | undefined; languages?: string[] | undefined; }, { country?: string | undefined; languages?: string[] | undefined; }>>; onlyMainContent: z.ZodOptional; changeTrackingOptions: z.ZodOptional>; schema: z.ZodOptional>; prompt: z.ZodOptional; tag: z.ZodOptional>; }, "strip", z.ZodTypeAny, { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; }, { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; }>>; }, "strip", z.ZodTypeAny, { headers?: Record | undefined; timeout?: number | undefined; formats?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; waitFor?: number | undefined; maxAge?: number | undefined; mobile?: boolean | undefined; skipTlsVerification?: boolean | undefined; blockAds?: boolean | undefined; removeBase64Images?: boolean | undefined; parsePDF?: boolean | undefined; storeInCache?: boolean | undefined; zeroDataRetention?: boolean | undefined; location?: { country?: string | undefined; languages?: string[] | undefined; } | undefined; onlyMainContent?: boolean | undefined; changeTrackingOptions?: { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; } | undefined; }, { headers?: Record | undefined; timeout?: number | undefined; formats?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; waitFor?: number | undefined; maxAge?: number | undefined; mobile?: boolean | undefined; skipTlsVerification?: boolean | undefined; blockAds?: boolean | undefined; removeBase64Images?: boolean | undefined; parsePDF?: boolean | undefined; storeInCache?: boolean | undefined; zeroDataRetention?: boolean | undefined; location?: { country?: string | undefined; languages?: string[] | undefined; } | undefined; onlyMainContent?: boolean | undefined; changeTrackingOptions?: { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; } | undefined; }>>; searxngSearchOptions: z.ZodOptional]>, string | undefined, string | string[]>>; language: z.ZodOptional; timeRange: z.ZodOptional>; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; engines?: string | undefined; language?: string | undefined; timeRange?: "day" | "month" | "year" | undefined; }, { timeout?: number | undefined; engines?: string | string[] | undefined; language?: string | undefined; timeRange?: "day" | "month" | "year" | undefined; }>>; tavilySearchOptions: z.ZodOptional>; maxResults: z.ZodOptional; includeImages: z.ZodOptional; includeAnswer: z.ZodOptional]>>; includeRawContent: z.ZodOptional]>>; includeDomains: z.ZodOptional>; excludeDomains: z.ZodOptional>; topic: z.ZodOptional>; timeRange: z.ZodOptional>; includeImageDescriptions: z.ZodOptional; includeFavicon: z.ZodOptional; chunksPerSource: z.ZodOptional; safeSearch: z.ZodOptional; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; safeSearch?: boolean | undefined; timeRange?: "day" | "month" | "year" | "week" | "d" | "w" | "m" | "y" | undefined; searchDepth?: "basic" | "advanced" | "fast" | "ultra-fast" | undefined; maxResults?: number | undefined; includeImages?: boolean | undefined; includeAnswer?: boolean | "basic" | "advanced" | undefined; includeRawContent?: boolean | "text" | "markdown" | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; topic?: "general" | "news" | "finance" | undefined; includeImageDescriptions?: boolean | undefined; includeFavicon?: boolean | undefined; chunksPerSource?: number | undefined; }, { timeout?: number | undefined; safeSearch?: boolean | undefined; timeRange?: "day" | "month" | "year" | "week" | "d" | "w" | "m" | "y" | undefined; searchDepth?: "basic" | "advanced" | "fast" | "ultra-fast" | undefined; maxResults?: number | undefined; includeImages?: boolean | undefined; includeAnswer?: boolean | "basic" | "advanced" | undefined; includeRawContent?: boolean | "text" | "markdown" | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; topic?: "general" | "news" | "finance" | undefined; includeImageDescriptions?: boolean | undefined; includeFavicon?: boolean | undefined; chunksPerSource?: number | undefined; }>>; tavilyScraperOptions: z.ZodOptional>; includeImages: z.ZodOptional; includeFavicon: z.ZodOptional; format: z.ZodOptional>; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; includeImages?: boolean | undefined; includeFavicon?: boolean | undefined; extractDepth?: "basic" | "advanced" | undefined; format?: "text" | "markdown" | undefined; }, { timeout?: number | undefined; includeImages?: boolean | undefined; includeFavicon?: boolean | undefined; extractDepth?: "basic" | "advanced" | undefined; format?: "text" | "markdown" | undefined; }>>; keenableSearchOptions: z.ZodOptional; site: z.ZodOptional; attributionTitle: z.ZodOptional; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; maxResults?: number | undefined; site?: string | undefined; attributionTitle?: string | undefined; }, { timeout?: number | undefined; maxResults?: number | undefined; site?: string | undefined; attributionTitle?: string | undefined; }>>; keenableScraperOptions: z.ZodOptional; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; attributionTitle?: string | undefined; }, { timeout?: number | undefined; attributionTitle?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { serperApiKey: string; searxngInstanceUrl: string; searxngApiKey: string; firecrawlApiKey: string; firecrawlApiUrl: string; firecrawlVersion: string; tavilyApiKey: string; tavilySearchUrl: string; tavilyExtractUrl: string; keenableApiKey: string; keenableApiUrl: string; jinaApiKey: string; jinaApiUrl: string; cohereApiKey: string; safeSearch: SafeSearchTypes; allowedAddresses?: string[] | undefined; serperApiKeyPreview?: string | undefined; searxngApiKeyPreview?: string | undefined; firecrawlApiKeyPreview?: string | undefined; tavilyApiKeyPreview?: string | undefined; jinaApiKeyPreview?: string | undefined; cohereApiKeyPreview?: string | undefined; searchProvider?: SearchProviders | undefined; scraperProvider?: ScraperProviders | undefined; rerankerType?: RerankerTypes | undefined; scraperTimeout?: number | undefined; firecrawlOptions?: { headers?: Record | undefined; timeout?: number | undefined; formats?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; waitFor?: number | undefined; maxAge?: number | undefined; mobile?: boolean | undefined; skipTlsVerification?: boolean | undefined; blockAds?: boolean | undefined; removeBase64Images?: boolean | undefined; parsePDF?: boolean | undefined; storeInCache?: boolean | undefined; zeroDataRetention?: boolean | undefined; location?: { country?: string | undefined; languages?: string[] | undefined; } | undefined; onlyMainContent?: boolean | undefined; changeTrackingOptions?: { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; } | undefined; } | undefined; searxngSearchOptions?: { timeout?: number | undefined; engines?: string | undefined; language?: string | undefined; timeRange?: "day" | "month" | "year" | undefined; } | undefined; tavilySearchOptions?: { timeout?: number | undefined; safeSearch?: boolean | undefined; timeRange?: "day" | "month" | "year" | "week" | "d" | "w" | "m" | "y" | undefined; searchDepth?: "basic" | "advanced" | "fast" | "ultra-fast" | undefined; maxResults?: number | undefined; includeImages?: boolean | undefined; includeAnswer?: boolean | "basic" | "advanced" | undefined; includeRawContent?: boolean | "text" | "markdown" | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; topic?: "general" | "news" | "finance" | undefined; includeImageDescriptions?: boolean | undefined; includeFavicon?: boolean | undefined; chunksPerSource?: number | undefined; } | undefined; tavilyScraperOptions?: { timeout?: number | undefined; includeImages?: boolean | undefined; includeFavicon?: boolean | undefined; extractDepth?: "basic" | "advanced" | undefined; format?: "text" | "markdown" | undefined; } | undefined; keenableSearchOptions?: { timeout?: number | undefined; maxResults?: number | undefined; site?: string | undefined; attributionTitle?: string | undefined; } | undefined; keenableScraperOptions?: { timeout?: number | undefined; attributionTitle?: string | undefined; } | undefined; }, { allowedAddresses?: string[] | undefined; serperApiKey?: string | undefined; serperApiKeyPreview?: string | undefined; searxngInstanceUrl?: string | undefined; searxngApiKey?: string | undefined; searxngApiKeyPreview?: string | undefined; firecrawlApiKey?: string | undefined; firecrawlApiKeyPreview?: string | undefined; firecrawlApiUrl?: string | undefined; firecrawlVersion?: string | undefined; tavilyApiKey?: string | undefined; tavilyApiKeyPreview?: string | undefined; tavilySearchUrl?: string | undefined; tavilyExtractUrl?: string | undefined; keenableApiKey?: string | undefined; keenableApiUrl?: string | undefined; jinaApiKey?: string | undefined; jinaApiKeyPreview?: string | undefined; jinaApiUrl?: string | undefined; cohereApiKey?: string | undefined; cohereApiKeyPreview?: string | undefined; searchProvider?: SearchProviders | undefined; scraperProvider?: ScraperProviders | undefined; rerankerType?: RerankerTypes | undefined; scraperTimeout?: number | undefined; safeSearch?: SafeSearchTypes | undefined; firecrawlOptions?: { headers?: Record | undefined; timeout?: number | undefined; formats?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; waitFor?: number | undefined; maxAge?: number | undefined; mobile?: boolean | undefined; skipTlsVerification?: boolean | undefined; blockAds?: boolean | undefined; removeBase64Images?: boolean | undefined; parsePDF?: boolean | undefined; storeInCache?: boolean | undefined; zeroDataRetention?: boolean | undefined; location?: { country?: string | undefined; languages?: string[] | undefined; } | undefined; onlyMainContent?: boolean | undefined; changeTrackingOptions?: { prompt?: string | undefined; tag?: string | null | undefined; modes?: string[] | undefined; schema?: Record | undefined; } | undefined; } | undefined; searxngSearchOptions?: { timeout?: number | undefined; engines?: string | string[] | undefined; language?: string | undefined; timeRange?: "day" | "month" | "year" | undefined; } | undefined; tavilySearchOptions?: { timeout?: number | undefined; safeSearch?: boolean | undefined; timeRange?: "day" | "month" | "year" | "week" | "d" | "w" | "m" | "y" | undefined; searchDepth?: "basic" | "advanced" | "fast" | "ultra-fast" | undefined; maxResults?: number | undefined; includeImages?: boolean | undefined; includeAnswer?: boolean | "basic" | "advanced" | undefined; includeRawContent?: boolean | "text" | "markdown" | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; topic?: "general" | "news" | "finance" | undefined; includeImageDescriptions?: boolean | undefined; includeFavicon?: boolean | undefined; chunksPerSource?: number | undefined; } | undefined; tavilyScraperOptions?: { timeout?: number | undefined; includeImages?: boolean | undefined; includeFavicon?: boolean | undefined; extractDepth?: "basic" | "advanced" | undefined; format?: "text" | "markdown" | undefined; } | undefined; keenableSearchOptions?: { timeout?: number | undefined; maxResults?: number | undefined; site?: string | undefined; attributionTitle?: string | undefined; } | undefined; keenableScraperOptions?: { timeout?: number | undefined; attributionTitle?: string | undefined; } | undefined; }>>; langfuse: z.ZodOptional; publicKey: z.ZodOptional; secretKey: z.ZodOptional; /** Stable Langfuse project identity returned when credentials are verified. */ projectId: z.ZodOptional; /** Masked preview of the secret key, stored at write time so * admin reads can show which secret key is configured without returning the secret. */ secretKeyPreview: z.ZodOptional; /** Routing key for one of the deployment-configured tenant Langfuse destinations. */ destination: z.ZodOptional; /** * Custom request headers sent on every outbound Langfuse request — trace and * media export, feedback scores, and credential verification — for * self-hosted instances behind an authenticating proxy or gateway. Values * support `${ENV_VAR}` interpolation. * * Deployment-level only. Trace export batches spans from every user through * one exporter, so unlike endpoint headers these cannot carry per-user * placeholders. Headers referencing an unset variable, naming an * infrastructure secret, or carrying an invalid HTTP field name are dropped * with a warning rather than sent. * * Sent only when the deployment configures exactly one Langfuse origin, and * only to that origin. The map cannot say which endpoint it authenticates * to, so with several configured origins any choice of recipient would risk * disclosing a gateway credential to the others; a warning is logged instead. * Multi-destination deployments need per-destination headers, which this * schema does not yet express — and note the fanout collector forwards only * `Authorization` upstream regardless. */ headers: z.ZodOptional>; /** Trace user identity and allowlisted user/request metadata. */ trace: z.ZodOptional>; /** User fields exported as `librechat.user.` trace metadata. */ userMetadataFields: z.ZodOptional, "many">>; /** * Request fields exported as trace metadata: `librechat.conversation.id`, * `librechat.endpoint`, `librechat.endpoint.type`, `librechat.provider`, * `librechat.model`, `librechat.model.label`, and `librechat.spec`. */ conversationMetadataFields: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; }, { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; }>>; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; headers?: Record | undefined; projectId?: string | undefined; publicKey?: string | undefined; secretKey?: string | undefined; secretKeyPreview?: string | undefined; destination?: string | undefined; trace?: { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; } | undefined; }, { enabled?: boolean | undefined; headers?: Record | undefined; projectId?: string | undefined; publicKey?: string | undefined; secretKey?: string | undefined; secretKeyPreview?: string | undefined; destination?: string | undefined; trace?: { userIdField?: "id" | "name" | "email" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId" | undefined; userMetadataFields?: ("role" | "id" | "name" | "email" | "provider" | "username" | "openidId" | "samlId" | "ldapId" | "googleId" | "githubId" | "discordId" | "appleId" | "facebookId")[] | undefined; conversationMetadataFields?: ("endpoint" | "provider" | "model" | "conversationId" | "endpointType" | "modelLabel" | "spec")[] | undefined; } | undefined; }>>; memory: z.ZodOptional; validKeys: z.ZodOptional>; tokenLimit: z.ZodOptional; charLimit: z.ZodDefault>; maxInputTokens: z.ZodDefault>; personalize: z.ZodDefault; messageWindowSize: z.ZodDefault>; agent: z.ZodOptional; id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; enabled?: boolean | undefined; }, { id: string; enabled?: boolean | undefined; }>, z.ZodObject<{ enabled: z.ZodOptional; provider: z.ZodString; model: z.ZodString; instructions: z.ZodOptional; model_parameters: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { provider: string; model: string; instructions?: string | undefined; model_parameters?: Record | undefined; enabled?: boolean | undefined; }, { provider: string; model: string; instructions?: string | undefined; model_parameters?: Record | undefined; enabled?: boolean | undefined; }>]>>; }, "strip", z.ZodTypeAny, { charLimit: number; maxInputTokens: number; personalize: boolean; messageWindowSize: number; agent?: { id: string; enabled?: boolean | undefined; } | { provider: string; model: string; instructions?: string | undefined; model_parameters?: Record | undefined; enabled?: boolean | undefined; } | undefined; disabled?: boolean | undefined; validKeys?: string[] | undefined; tokenLimit?: number | undefined; }, { agent?: { id: string; enabled?: boolean | undefined; } | { provider: string; model: string; instructions?: string | undefined; model_parameters?: Record | undefined; enabled?: boolean | undefined; } | undefined; disabled?: boolean | undefined; validKeys?: string[] | undefined; tokenLimit?: number | undefined; charLimit?: number | undefined; maxInputTokens?: number | undefined; personalize?: boolean | undefined; messageWindowSize?: number | undefined; }>>; summarization: z.ZodOptional; provider: z.ZodOptional; model: z.ZodOptional; parameters: z.ZodOptional>>; trigger: z.ZodOptional; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "token_ratio"; value: number; }, { type: "token_ratio"; value: number; }>, z.ZodObject<{ type: z.ZodLiteral<"remaining_tokens">; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "remaining_tokens"; value: number; }, { type: "remaining_tokens"; value: number; }>, z.ZodObject<{ type: z.ZodLiteral<"messages_to_refine">; value: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "messages_to_refine"; value: number; }, { type: "messages_to_refine"; value: number; }>]>>; prompt: z.ZodOptional; updatePrompt: z.ZodOptional; reserveRatio: z.ZodOptional; maxSummaryTokens: z.ZodOptional; contextPruning: z.ZodOptional; keepLastAssistants: z.ZodOptional; softTrimRatio: z.ZodOptional; hardClearRatio: z.ZodOptional; minPrunableToolChars: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; }, { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; }>>; retainRecent: z.ZodOptional; tokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { turns?: number | undefined; tokens?: number | undefined; }, { turns?: number | undefined; tokens?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { prompt?: string | undefined; provider?: string | undefined; model?: string | undefined; enabled?: boolean | undefined; parameters?: Record | undefined; trigger?: { type: "token_ratio"; value: number; } | { type: "remaining_tokens"; value: number; } | { type: "messages_to_refine"; value: number; } | undefined; updatePrompt?: string | undefined; reserveRatio?: number | undefined; maxSummaryTokens?: number | undefined; contextPruning?: { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; } | undefined; retainRecent?: { turns?: number | undefined; tokens?: number | undefined; } | undefined; }, { prompt?: string | undefined; provider?: string | undefined; model?: string | undefined; enabled?: boolean | undefined; parameters?: Record | undefined; trigger?: { type: "token_ratio"; value: number; } | { type: "remaining_tokens"; value: number; } | { type: "messages_to_refine"; value: number; } | undefined; updatePrompt?: string | undefined; reserveRatio?: number | undefined; maxSummaryTokens?: number | undefined; contextPruning?: { enabled?: boolean | undefined; keepLastAssistants?: number | undefined; softTrimRatio?: number | undefined; hardClearRatio?: number | undefined; minPrunableToolChars?: number | undefined; } | undefined; retainRecent?: { turns?: number | undefined; tokens?: number | undefined; } | undefined; }>>; skillSync: z.ZodOptional; intervalMinutes: z.ZodDefault; runOnStartup: z.ZodDefault; sources: z.ZodDefault, string, string>, string, string>, string, string>, string, string>, string, string>>; paths: z.ZodArray, string, string>, string, string>, string, string>, string, string>, "many">; skillDiscoveryDepth: z.ZodOptional; credentialKey: z.ZodOptional; token: z.ZodOptional; tenantId: z.ZodOptional, string, string>>; }, "strip", z.ZodTypeAny, { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }, { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }>, { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }, { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { enabled: boolean; intervalMinutes: number; runOnStartup: boolean; sources: { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[]; }, { enabled?: boolean | undefined; intervalMinutes?: number | undefined; runOnStartup?: boolean | undefined; sources?: { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[] | undefined; }>, { enabled: boolean; intervalMinutes: number; runOnStartup: boolean; sources: { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[]; }, { enabled?: boolean | undefined; intervalMinutes?: number | undefined; runOnStartup?: boolean | undefined; sources?: { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[] | undefined; }>>; }, "strip", z.ZodTypeAny, { github?: { enabled: boolean; intervalMinutes: number; runOnStartup: boolean; sources: { owner: string; id: string; repo: string; ref: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[]; } | undefined; }, { github?: { enabled?: boolean | undefined; intervalMinutes?: number | undefined; runOnStartup?: boolean | undefined; sources?: { owner: string; id: string; repo: string; paths: string[]; tenantId?: string | undefined; token?: string | undefined; ref?: string | undefined; skillDiscoveryDepth?: number | undefined; credentialKey?: string | undefined; }[] | undefined; } | undefined; }>>; secureImageLinks: z.ZodOptional; imageOutputType: z.ZodDefault>; includedTools: z.ZodOptional>; filteredTools: z.ZodOptional>; mcpServers: z.ZodOptional; description: z.ZodOptional; startup: z.ZodOptional; iconPath: z.ZodOptional; timeout: z.ZodOptional; sseReadTimeout: z.ZodOptional; initTimeout: z.ZodOptional; chatMenu: z.ZodOptional; serverInstructions: z.ZodOptional>; requiresOAuth: z.ZodOptional; oauth: z.ZodOptional, z.ZodString>>; token_url: z.ZodOptional, z.ZodString>>; client_id: z.ZodOptional; client_secret: z.ZodOptional; scope: z.ZodOptional; redirect_uri: z.ZodOptional, z.ZodString>>; token_exchange_method: z.ZodOptional>; grant_types_supported: z.ZodOptional>; token_endpoint_auth_methods_supported: z.ZodOptional>; response_types_supported: z.ZodOptional>; code_challenge_methods_supported: z.ZodOptional>; skip_code_challenge_check: z.ZodOptional; audience: z.ZodOptional; forward_audience_on_refresh: z.ZodOptional; revocation_endpoint: z.ZodOptional, z.ZodString>>; revocation_endpoint_auth_methods_supported: z.ZodOptional>; }, "strip", z.ZodTypeAny, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>>; oauth_headers: z.ZodOptional>; apiKey: z.ZodOptional; source: z.ZodEnum<["admin", "user"]>; authorization_type: z.ZodEnum<["basic", "bearer", "custom"]>; custom_header: z.ZodOptional; }, "strip", z.ZodTypeAny, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }>>; customUserVars: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; title: string; sensitive?: boolean | undefined; }, { description: string; title: string; sensitive?: boolean | undefined; }>>>; } & { type: z.ZodDefault>; obo: z.ZodOptional; command: z.ZodString; args: z.ZodArray; env: z.ZodEffects>, Record | undefined, Record | undefined>; stderr: z.ZodOptional, z.ZodNumber]>>; cwd: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "stdio"; command: string; args: string[]; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; env?: Record | undefined; cwd?: string | undefined; stderr?: number | "pipe" | "ignore" | "inherit" | undefined; obo?: undefined; }, { command: string; args: string[]; type?: "stdio" | undefined; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; env?: Record | undefined; cwd?: string | undefined; stderr?: number | "pipe" | "ignore" | "inherit" | undefined; obo?: undefined; }>, z.ZodObject<{ title: z.ZodOptional; description: z.ZodOptional; startup: z.ZodOptional; iconPath: z.ZodOptional; timeout: z.ZodOptional; sseReadTimeout: z.ZodOptional; initTimeout: z.ZodOptional; chatMenu: z.ZodOptional; serverInstructions: z.ZodOptional>; requiresOAuth: z.ZodOptional; oauth: z.ZodOptional, z.ZodString>>; token_url: z.ZodOptional, z.ZodString>>; client_id: z.ZodOptional; client_secret: z.ZodOptional; scope: z.ZodOptional; redirect_uri: z.ZodOptional, z.ZodString>>; token_exchange_method: z.ZodOptional>; grant_types_supported: z.ZodOptional>; token_endpoint_auth_methods_supported: z.ZodOptional>; response_types_supported: z.ZodOptional>; code_challenge_methods_supported: z.ZodOptional>; skip_code_challenge_check: z.ZodOptional; audience: z.ZodOptional; forward_audience_on_refresh: z.ZodOptional; revocation_endpoint: z.ZodOptional, z.ZodString>>; revocation_endpoint_auth_methods_supported: z.ZodOptional>; }, "strip", z.ZodTypeAny, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>>; oauth_headers: z.ZodOptional>; apiKey: z.ZodOptional; source: z.ZodEnum<["admin", "user"]>; authorization_type: z.ZodEnum<["basic", "bearer", "custom"]>; custom_header: z.ZodOptional; }, "strip", z.ZodTypeAny, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }>>; customUserVars: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; title: string; sensitive?: boolean | undefined; }, { description: string; title: string; sensitive?: boolean | undefined; }>>>; } & { type: z.ZodDefault>; obo: z.ZodOptional; url: z.ZodEffects, z.ZodString>, string, string>; }, "strip", z.ZodTypeAny, { type: "websocket"; url: string; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: undefined; }, { url: string; type?: "websocket" | undefined; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: undefined; }>, z.ZodObject<{ title: z.ZodOptional; description: z.ZodOptional; startup: z.ZodOptional; iconPath: z.ZodOptional; timeout: z.ZodOptional; sseReadTimeout: z.ZodOptional; initTimeout: z.ZodOptional; chatMenu: z.ZodOptional; serverInstructions: z.ZodOptional>; requiresOAuth: z.ZodOptional; oauth: z.ZodOptional, z.ZodString>>; token_url: z.ZodOptional, z.ZodString>>; client_id: z.ZodOptional; client_secret: z.ZodOptional; scope: z.ZodOptional; redirect_uri: z.ZodOptional, z.ZodString>>; token_exchange_method: z.ZodOptional>; grant_types_supported: z.ZodOptional>; token_endpoint_auth_methods_supported: z.ZodOptional>; response_types_supported: z.ZodOptional>; code_challenge_methods_supported: z.ZodOptional>; skip_code_challenge_check: z.ZodOptional; audience: z.ZodOptional; forward_audience_on_refresh: z.ZodOptional; revocation_endpoint: z.ZodOptional, z.ZodString>>; revocation_endpoint_auth_methods_supported: z.ZodOptional>; }, "strip", z.ZodTypeAny, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>>; oauth_headers: z.ZodOptional>; apiKey: z.ZodOptional; source: z.ZodEnum<["admin", "user"]>; authorization_type: z.ZodEnum<["basic", "bearer", "custom"]>; custom_header: z.ZodOptional; }, "strip", z.ZodTypeAny, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }>>; customUserVars: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; title: string; sensitive?: boolean | undefined; }, { description: string; title: string; sensitive?: boolean | undefined; }>>>; } & { type: z.ZodDefault>; headers: z.ZodOptional>; obo: z.ZodOptional>; proxy: z.ZodOptional, z.ZodString>, string, string>>; url: z.ZodEffects, z.ZodString>, string, string>; }, "strip", z.ZodTypeAny, { type: "sse"; url: string; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; headers?: Record | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: { scopes: string; } | undefined; proxy?: string | undefined; }, { url: string; type?: "sse" | undefined; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; headers?: Record | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: { scopes: string; } | undefined; proxy?: string | undefined; }>, z.ZodObject<{ title: z.ZodOptional; description: z.ZodOptional; startup: z.ZodOptional; iconPath: z.ZodOptional; timeout: z.ZodOptional; sseReadTimeout: z.ZodOptional; initTimeout: z.ZodOptional; chatMenu: z.ZodOptional; serverInstructions: z.ZodOptional>; requiresOAuth: z.ZodOptional; oauth: z.ZodOptional, z.ZodString>>; token_url: z.ZodOptional, z.ZodString>>; client_id: z.ZodOptional; client_secret: z.ZodOptional; scope: z.ZodOptional; redirect_uri: z.ZodOptional, z.ZodString>>; token_exchange_method: z.ZodOptional>; grant_types_supported: z.ZodOptional>; token_endpoint_auth_methods_supported: z.ZodOptional>; response_types_supported: z.ZodOptional>; code_challenge_methods_supported: z.ZodOptional>; skip_code_challenge_check: z.ZodOptional; audience: z.ZodOptional; forward_audience_on_refresh: z.ZodOptional; revocation_endpoint: z.ZodOptional, z.ZodString>>; revocation_endpoint_auth_methods_supported: z.ZodOptional>; }, "strip", z.ZodTypeAny, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }, { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; }>>; oauth_headers: z.ZodOptional>; apiKey: z.ZodOptional; source: z.ZodEnum<["admin", "user"]>; authorization_type: z.ZodEnum<["basic", "bearer", "custom"]>; custom_header: z.ZodOptional; }, "strip", z.ZodTypeAny, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }, { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; }>>; customUserVars: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; title: string; sensitive?: boolean | undefined; }, { description: string; title: string; sensitive?: boolean | undefined; }>>>; } & { type: z.ZodUnion<[z.ZodLiteral<"streamable-http">, z.ZodLiteral<"http">]>; headers: z.ZodOptional>; obo: z.ZodOptional>; proxy: z.ZodOptional, z.ZodString>, string, string>>; url: z.ZodEffects, z.ZodString>, string, string>; }, "strip", z.ZodTypeAny, { type: "streamable-http" | "http"; url: string; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; headers?: Record | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: { scopes: string; } | undefined; proxy?: string | undefined; }, { type: "streamable-http" | "http"; url: string; description?: string | undefined; title?: string | undefined; chatMenu?: boolean | undefined; headers?: Record | undefined; apiKey?: { source: "user" | "admin"; authorization_type: "custom" | "basic" | "bearer"; key?: string | undefined; custom_header?: string | undefined; } | undefined; timeout?: number | undefined; startup?: boolean | undefined; iconPath?: string | undefined; sseReadTimeout?: number | undefined; initTimeout?: number | undefined; serverInstructions?: string | boolean | undefined; requiresOAuth?: boolean | undefined; oauth?: { audience?: string | undefined; scope?: string | undefined; authorization_url?: string | undefined; token_exchange_method?: import(".").TokenExchangeMethodEnum | undefined; token_url?: string | undefined; client_id?: string | undefined; client_secret?: string | undefined; redirect_uri?: string | undefined; grant_types_supported?: string[] | undefined; token_endpoint_auth_methods_supported?: string[] | undefined; response_types_supported?: string[] | undefined; code_challenge_methods_supported?: string[] | undefined; skip_code_challenge_check?: boolean | undefined; forward_audience_on_refresh?: boolean | undefined; revocation_endpoint?: string | undefined; revocation_endpoint_auth_methods_supported?: string[] | undefined; } | undefined; oauth_headers?: Record | undefined; customUserVars?: Record | undefined; obo?: { scopes: string; } | undefined; proxy?: string | undefined; }>]>>>; mcpSettings: z.ZodOptional>; allowedAddresses: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; catalogRecovery: z.ZodDefault>; discoveryTimeoutMs: z.ZodDefault; /** How long past `discoveryTimeoutMs` a stalled discovery may hold its catalog slot and * coalesced requests. It is never cancelled, so OAuth tokens it redeemed still persist, * and no other discovery for the same server state starts until it settles. */ discoverySettleGraceMs: z.ZodDefault; reauthRetryMs: z.ZodDefault; maxStateEntries: z.ZodDefault; /** Process-wide: how many discoveries released past `discoverySettleGraceMs` may still be * running before recovery starts no new discovery until one settles. The default matches * the three catalog slots a stalled dependency could hold before discoveries were released. */ maxDetachedDiscoveries: z.ZodDefault; generationReadTimeoutMs: z.ZodDefault; authorizationFenceRetryMs: z.ZodDefault>; authorizationFenceTimeoutMs: z.ZodDefault; authorizationFenceRetryIntervalMs: z.ZodDefault; authorizationFenceRetryBatchSize: z.ZodDefault; }, "strip", z.ZodTypeAny, { discoveryBackoffMs: number[]; discoveryTimeoutMs: number; discoverySettleGraceMs: number; reauthRetryMs: number; maxStateEntries: number; maxDetachedDiscoveries: number; generationReadTimeoutMs: number; authorizationFenceRetryMs: number[]; authorizationFenceTimeoutMs: number; authorizationFenceRetryIntervalMs: number; authorizationFenceRetryBatchSize: number; }, { discoveryBackoffMs?: number[] | undefined; discoveryTimeoutMs?: number | undefined; discoverySettleGraceMs?: number | undefined; reauthRetryMs?: number | undefined; maxStateEntries?: number | undefined; maxDetachedDiscoveries?: number | undefined; generationReadTimeoutMs?: number | undefined; authorizationFenceRetryMs?: number[] | undefined; authorizationFenceTimeoutMs?: number | undefined; authorizationFenceRetryIntervalMs?: number | undefined; authorizationFenceRetryBatchSize?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { catalogRecovery: { discoveryBackoffMs: number[]; discoveryTimeoutMs: number; discoverySettleGraceMs: number; reauthRetryMs: number; maxStateEntries: number; maxDetachedDiscoveries: number; generationReadTimeoutMs: number; authorizationFenceRetryMs: number[]; authorizationFenceTimeoutMs: number; authorizationFenceRetryIntervalMs: number; authorizationFenceRetryBatchSize: number; }; allowedAddresses?: string[] | undefined; allowedDomains?: string[] | undefined; }, { allowedAddresses?: string[] | undefined; allowedDomains?: string[] | undefined; catalogRecovery?: { discoveryBackoffMs?: number[] | undefined; discoveryTimeoutMs?: number | undefined; discoverySettleGraceMs?: number | undefined; reauthRetryMs?: number | undefined; maxStateEntries?: number | undefined; maxDetachedDiscoveries?: number | undefined; generationReadTimeoutMs?: number | undefined; authorizationFenceRetryMs?: number[] | undefined; authorizationFenceTimeoutMs?: number | undefined; authorizationFenceRetryIntervalMs?: number | undefined; authorizationFenceRetryBatchSize?: number | undefined; } | undefined; }>>; interface: z.ZodDefault; openNewTab: z.ZodOptional; }, "strip", z.ZodTypeAny, { externalUrl?: string | undefined; openNewTab?: boolean | undefined; }, { externalUrl?: string | undefined; openNewTab?: boolean | undefined; }>>; termsOfService: z.ZodOptional; openNewTab: z.ZodOptional; modalAcceptance: z.ZodOptional; modalTitle: z.ZodOptional; modalContent: z.ZodOptional]>>; }, "strip", z.ZodTypeAny, { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; }, { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; }>>; customWelcome: z.ZodOptional; mcpServers: z.ZodOptional; statusRefreshInterval: z.ZodOptional; placeholder: z.ZodOptional; use: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; configureObo: z.ZodOptional; trustCheckbox: z.ZodOptional]>>; subLabel: z.ZodOptional]>>; }, "strip", z.ZodTypeAny, { label?: string | Record | undefined; subLabel?: string | Record | undefined; }, { label?: string | Record | undefined; subLabel?: string | Record | undefined; }>>; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; }, { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; }>>>; modelSelect: z.ZodOptional; parameters: z.ZodOptional; multiConvo: z.ZodOptional; bookmarks: z.ZodOptional; memories: z.ZodOptional; presets: z.ZodOptional; prompts: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }>]>>; agents: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }>]>>; temporaryChat: z.ZodOptional; temporaryChatRetention: z.ZodOptional; generalChatRetention: z.ZodOptional; autoSubmitFromUrl: z.ZodOptional; retentionMode: z.ZodDefault>; retainAgentFiles: z.ZodOptional; runCode: z.ZodOptional; webSearch: z.ZodOptional; contextUsage: z.ZodOptional; contextCost: z.ZodOptional; feedback: z.ZodOptional; currency: z.ZodOptional>; peoplePicker: z.ZodOptional; groups: z.ZodOptional; roles: z.ZodOptional; }, "strip", z.ZodTypeAny, { users?: boolean | undefined; groups?: boolean | undefined; roles?: boolean | undefined; }, { users?: boolean | undefined; groups?: boolean | undefined; roles?: boolean | undefined; }>>; marketplace: z.ZodOptional; }, "strip", z.ZodTypeAny, { use?: boolean | undefined; }, { use?: boolean | undefined; }>>; fileSearch: z.ZodOptional; fileCitations: z.ZodOptional; traceViewer: z.ZodOptional; /** Returns observation input, output and metadata in the record inspector. */ showInputOutput: z.ZodOptional; /** Observations read from the tracing backend per request. */ maxRecords: z.ZodOptional; /** Characters kept from each input, output and metadata value before truncation. */ maxContentLength: z.ZodOptional; /** Trace reads one user may start per minute. */ requestsPerMinute: z.ZodOptional; /** Budget for each round trip to the tracing backend, in milliseconds. */ requestTimeoutMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; }, { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; }>>; /** Tool keys (and `'mcp'` or an MCP server name) pinned to the prompt bar by default */ defaultPinnedTools: z.ZodOptional>; buildInfo: z.ZodOptional; remoteAgents: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; }>>; skills: z.ZodOptional; create: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; defaultActiveOnShare: z.ZodOptional; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; defaultActiveOnShare?: boolean | undefined; }, { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; defaultActiveOnShare?: boolean | undefined; }>]>>; sharedLinks: z.ZodOptional; share: z.ZodOptional; public: z.ZodOptional; snapshotFiles: z.ZodOptional; }, "strip", z.ZodTypeAny, { public?: boolean | undefined; share?: boolean | undefined; create?: boolean | undefined; snapshotFiles?: boolean | undefined; }, { public?: boolean | undefined; share?: boolean | undefined; create?: boolean | undefined; snapshotFiles?: boolean | undefined; }>]>>; schedules: z.ZodOptional; create: z.ZodOptional; maxPerUser: z.ZodOptional; minIntervalMinutes: z.ZodOptional; autoDisableAfterFailures: z.ZodOptional; admissionConcurrency: z.ZodOptional; fireConcurrency: z.ZodOptional; mcpPreflightConcurrency: z.ZodOptional; mcpPreflightTimeoutMs: z.ZodOptional; /** Refuse schedules that are not filed under a chat project. Enforced on * create/update AND at every fire, so raising it later stops schedules * that predate the policy instead of grandfathering them. */ requireProject: z.ZodOptional; /** Pins every scheduled run to ONE chat project, ignoring any client * choice. Implies `requireProject`. The project must belong to the * schedule's owner, so a deployment-wide value only makes sense with a * per-user/per-role config override. */ projectId: z.ZodOptional; }, "strip", z.ZodTypeAny, { maxPerUser?: number | undefined; projectId?: string | undefined; use?: boolean | undefined; create?: boolean | undefined; minIntervalMinutes?: number | undefined; autoDisableAfterFailures?: number | undefined; admissionConcurrency?: number | undefined; fireConcurrency?: number | undefined; mcpPreflightConcurrency?: number | undefined; mcpPreflightTimeoutMs?: number | undefined; requireProject?: boolean | undefined; }, { maxPerUser?: number | undefined; projectId?: string | undefined; use?: boolean | undefined; create?: boolean | undefined; minIntervalMinutes?: number | undefined; autoDisableAfterFailures?: number | undefined; admissionConcurrency?: number | undefined; fireConcurrency?: number | undefined; mcpPreflightConcurrency?: number | undefined; mcpPreflightTimeoutMs?: number | undefined; requireProject?: boolean | undefined; }>]>>; }, "strip", z.ZodTypeAny, { retentionMode: RetentionMode; agents?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; skills?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; defaultActiveOnShare?: boolean | undefined; } | undefined; feedback?: boolean | undefined; prompts?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; memories?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; mcpServers?: { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; } | undefined; parameters?: boolean | undefined; privacyPolicy?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; } | undefined; termsOfService?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; } | undefined; customWelcome?: string | undefined; modelSelect?: boolean | undefined; multiConvo?: boolean | undefined; bookmarks?: boolean | undefined; presets?: boolean | undefined; temporaryChat?: boolean | undefined; temporaryChatRetention?: number | undefined; generalChatRetention?: number | undefined; autoSubmitFromUrl?: boolean | undefined; retainAgentFiles?: boolean | undefined; runCode?: boolean | undefined; contextUsage?: boolean | undefined; contextCost?: boolean | undefined; currency?: { code: string; rate: number; } | undefined; peoplePicker?: { users?: boolean | undefined; groups?: boolean | undefined; roles?: boolean | undefined; } | undefined; marketplace?: { use?: boolean | undefined; } | undefined; fileCitations?: boolean | undefined; traceViewer?: { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; } | undefined; defaultPinnedTools?: string[] | undefined; buildInfo?: boolean | undefined; remoteAgents?: { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; sharedLinks?: boolean | { public?: boolean | undefined; share?: boolean | undefined; create?: boolean | undefined; snapshotFiles?: boolean | undefined; } | undefined; schedules?: boolean | { maxPerUser?: number | undefined; projectId?: string | undefined; use?: boolean | undefined; create?: boolean | undefined; minIntervalMinutes?: number | undefined; autoDisableAfterFailures?: number | undefined; admissionConcurrency?: number | undefined; fireConcurrency?: number | undefined; mcpPreflightConcurrency?: number | undefined; mcpPreflightTimeoutMs?: number | undefined; requireProject?: boolean | undefined; } | undefined; }, { agents?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; skills?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; defaultActiveOnShare?: boolean | undefined; } | undefined; feedback?: boolean | undefined; prompts?: boolean | { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; memories?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; mcpServers?: { public?: boolean | undefined; placeholder?: string | undefined; share?: boolean | undefined; toolsRefreshInterval?: number | undefined; statusRefreshInterval?: number | undefined; use?: boolean | undefined; create?: boolean | undefined; configureObo?: boolean | undefined; trustCheckbox?: { label?: string | Record | undefined; subLabel?: string | Record | undefined; } | undefined; } | undefined; parameters?: boolean | undefined; privacyPolicy?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; } | undefined; termsOfService?: { externalUrl?: string | undefined; openNewTab?: boolean | undefined; modalAcceptance?: boolean | undefined; modalTitle?: string | undefined; modalContent?: string | string[] | undefined; } | undefined; customWelcome?: string | undefined; modelSelect?: boolean | undefined; multiConvo?: boolean | undefined; bookmarks?: boolean | undefined; presets?: boolean | undefined; temporaryChat?: boolean | undefined; temporaryChatRetention?: number | undefined; generalChatRetention?: number | undefined; autoSubmitFromUrl?: boolean | undefined; retentionMode?: RetentionMode | undefined; retainAgentFiles?: boolean | undefined; runCode?: boolean | undefined; contextUsage?: boolean | undefined; contextCost?: boolean | undefined; currency?: { code: string; rate: number; } | undefined; peoplePicker?: { users?: boolean | undefined; groups?: boolean | undefined; roles?: boolean | undefined; } | undefined; marketplace?: { use?: boolean | undefined; } | undefined; fileCitations?: boolean | undefined; traceViewer?: { enabled?: boolean | undefined; showInputOutput?: boolean | undefined; maxRecords?: number | undefined; maxContentLength?: number | undefined; requestsPerMinute?: number | undefined; requestTimeoutMs?: number | undefined; } | undefined; defaultPinnedTools?: string[] | undefined; buildInfo?: boolean | undefined; remoteAgents?: { public?: boolean | undefined; share?: boolean | undefined; use?: boolean | undefined; create?: boolean | undefined; } | undefined; sharedLinks?: boolean | { public?: boolean | undefined; share?: boolean | undefined; create?: boolean | undefined; snapshotFiles?: boolean | undefined; } | undefined; schedules?: boolean | { maxPerUser?: number | undefined; projectId?: string | undefined; use?: boolean | undefined; create?: boolean | undefined; minIntervalMinutes?: number | undefined; autoDisableAfterFailures?: number | undefined; admissionConcurrency?: number | undefined; fireConcurrency?: number | undefined; mcpPreflightConcurrency?: number | undefined; mcpPreflightTimeoutMs?: number | undefined; requireProject?: boolean | undefined; } | undefined; }>>; turnstile: z.ZodOptional; size: z.ZodDefault>; }, "strip", z.ZodTypeAny, { language: string; size: "compact" | "normal" | "flexible" | "invisible"; }, { language?: string | undefined; size?: "compact" | "normal" | "flexible" | "invisible" | undefined; }>>>; }, "strip", z.ZodTypeAny, { siteKey: string; options?: { language: string; size: "compact" | "normal" | "flexible" | "invisible"; } | undefined; }, { siteKey: string; options?: { language?: string | undefined; size?: "compact" | "normal" | "flexible" | "invisible" | undefined; } | undefined; }>>; fileStrategy: z.ZodDefault>; fileStrategies: z.ZodOptional>; avatar: z.ZodOptional>; image: z.ZodOptional>; document: z.ZodOptional>; skills: z.ZodOptional>; }, "strip", z.ZodTypeAny, { avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; skills?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; }, { avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; skills?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | FileSources.cloudfront | undefined; }>>; cloudfront: z.ZodOptional; invalidateOnDelete: z.ZodDefault; imageSigning: z.ZodDefault>; urlExpiry: z.ZodDefault; cookieExpiry: z.ZodDefault; cookieDomain: z.ZodOptional>; storageRegion: z.ZodOptional; includeRegionInPath: z.ZodDefault; requireSignedAccess: z.ZodDefault; }, "strip", z.ZodTypeAny, { domain: string; invalidateOnDelete: boolean; imageSigning: "none" | "url" | "cookies"; urlExpiry: number; cookieExpiry: number; includeRegionInPath: boolean; requireSignedAccess: boolean; distributionId?: string | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; }, { domain: string; distributionId?: string | undefined; invalidateOnDelete?: boolean | undefined; imageSigning?: "none" | "url" | "cookies" | undefined; urlExpiry?: number | undefined; cookieExpiry?: number | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; includeRegionInPath?: boolean | undefined; requireSignedAccess?: boolean | undefined; }>, { domain: string; invalidateOnDelete: boolean; imageSigning: "none" | "url" | "cookies"; urlExpiry: number; cookieExpiry: number; includeRegionInPath: boolean; requireSignedAccess: boolean; distributionId?: string | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; }, { domain: string; distributionId?: string | undefined; invalidateOnDelete?: boolean | undefined; imageSigning?: "none" | "url" | "cookies" | undefined; urlExpiry?: number | undefined; cookieExpiry?: number | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; includeRegionInPath?: boolean | undefined; requireSignedAccess?: boolean | undefined; }>, { domain: string; invalidateOnDelete: boolean; imageSigning: "none" | "url" | "cookies"; urlExpiry: number; cookieExpiry: number; includeRegionInPath: boolean; requireSignedAccess: boolean; distributionId?: string | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; }, { domain: string; distributionId?: string | undefined; invalidateOnDelete?: boolean | undefined; imageSigning?: "none" | "url" | "cookies" | undefined; urlExpiry?: number | undefined; cookieExpiry?: number | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; includeRegionInPath?: boolean | undefined; requireSignedAccess?: boolean | undefined; }>, { domain: string; invalidateOnDelete: boolean; imageSigning: "none" | "url" | "cookies"; urlExpiry: number; cookieExpiry: number; includeRegionInPath: boolean; requireSignedAccess: boolean; distributionId?: string | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; }, { domain: string; distributionId?: string | undefined; invalidateOnDelete?: boolean | undefined; imageSigning?: "none" | "url" | "cookies" | undefined; urlExpiry?: number | undefined; cookieExpiry?: number | undefined; cookieDomain?: string | undefined; storageRegion?: string | undefined; includeRegionInPath?: boolean | undefined; requireSignedAccess?: boolean | undefined; }>>; actions: z.ZodOptional>; allowedAddresses: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; }, "strip", z.ZodTypeAny, { allowedAddresses?: string[] | undefined; allowedDomains?: string[] | undefined; }, { allowedAddresses?: string[] | undefined; allowedDomains?: string[] | undefined; }>>; registration: z.ZodDefault>; allowedDomains: z.ZodOptional>; }, "strip", z.ZodTypeAny, { allowedDomains?: string[] | undefined; socialLogins?: string[] | undefined; }, { allowedDomains?: string[] | undefined; socialLogins?: string[] | undefined; }>>; balance: z.ZodOptional>; startBalance: z.ZodDefault>; autoRefillEnabled: z.ZodDefault>; refillIntervalValue: z.ZodDefault>; refillIntervalUnit: z.ZodDefault>>; refillAmount: z.ZodDefault>; }, "strip", z.ZodTypeAny, { enabled: boolean; startBalance: number; autoRefillEnabled: boolean; refillIntervalValue: number; refillIntervalUnit: "seconds" | "minutes" | "hours" | "days" | "weeks" | "months"; refillAmount: number; }, { enabled?: boolean | undefined; startBalance?: number | undefined; autoRefillEnabled?: boolean | undefined; refillIntervalValue?: number | undefined; refillIntervalUnit?: "seconds" | "minutes" | "hours" | "days" | "weeks" | "months" | undefined; refillAmount?: number | undefined; }>>; transactions: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled: boolean; }, { enabled?: boolean | undefined; }>>; speech: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; openai: z.ZodOptional; apiKey: z.ZodString; apiKeyPreview: z.ZodOptional; model: z.ZodString; voices: z.ZodArray; }, "strip", z.ZodTypeAny, { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; }, { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; }>>; azureOpenAI: z.ZodOptional; deploymentName: z.ZodString; apiVersion: z.ZodString; model: z.ZodString; voices: z.ZodArray; }, "strip", z.ZodTypeAny, { model: string; apiKey: string; voices: string[]; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; }, { model: string; apiKey: string; voices: string[]; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; }>>; elevenlabs: z.ZodOptional; websocketUrl: z.ZodOptional; apiKey: z.ZodString; apiKeyPreview: z.ZodOptional; model: z.ZodString; voices: z.ZodArray; voice_settings: z.ZodOptional; stability: z.ZodOptional; style: z.ZodOptional; use_speaker_boost: z.ZodOptional; }, "strip", z.ZodTypeAny, { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; }, { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; }>>; pronunciation_dictionary_locators: z.ZodOptional>; }, "strip", z.ZodTypeAny, { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; }, { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; }>>; localai: z.ZodOptional; apiKeyPreview: z.ZodOptional; voices: z.ZodArray; backend: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; }, { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { azureOpenAI?: { model: string; apiKey: string; voices: string[]; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; elevenlabs?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; } | undefined; localai?: { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; }, { azureOpenAI?: { model: string; apiKey: string; voices: string[]; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; elevenlabs?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; } | undefined; localai?: { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; }>>; stt: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; openai: z.ZodOptional; apiKey: z.ZodString; apiKeyPreview: z.ZodOptional; model: z.ZodString; }, "strip", z.ZodTypeAny, { model: string; apiKey: string; url?: string | undefined; apiKeyPreview?: string | undefined; }, { model: string; apiKey: string; url?: string | undefined; apiKeyPreview?: string | undefined; }>>; azureOpenAI: z.ZodOptional; deploymentName: z.ZodString; apiVersion: z.ZodString; }, "strip", z.ZodTypeAny, { apiKey: string; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; }, { apiKey: string; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { azureOpenAI?: { apiKey: string; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; }, { azureOpenAI?: { apiKey: string; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; }>>; speechTab: z.ZodOptional; advancedMode: z.ZodOptional; speechToText: z.ZodOptional, z.ZodObject<{ /** Provider names remain valid for backward compatibility and are normalized for clients. */ engineSTT: z.ZodOptional>; languageSTT: z.ZodOptional; autoTranscribeAudio: z.ZodOptional; decibelValue: z.ZodOptional; autoSendText: z.ZodOptional; }, "strip", z.ZodTypeAny, { engineSTT?: "azureOpenAI" | "openai" | "browser" | "external" | undefined; languageSTT?: string | undefined; autoTranscribeAudio?: boolean | undefined; decibelValue?: number | undefined; autoSendText?: number | undefined; }, { engineSTT?: "azureOpenAI" | "openai" | "browser" | "external" | undefined; languageSTT?: string | undefined; autoTranscribeAudio?: boolean | undefined; decibelValue?: number | undefined; autoSendText?: number | undefined; }>]>>; textToSpeech: z.ZodOptional, z.ZodObject<{ /** Provider names remain valid for backward compatibility and are normalized for clients. */ engineTTS: z.ZodOptional>; voice: z.ZodOptional; languageTTS: z.ZodOptional; automaticPlayback: z.ZodOptional; playbackRate: z.ZodOptional; cacheTTS: z.ZodOptional; }, "strip", z.ZodTypeAny, { engineTTS?: "azureOpenAI" | "openai" | "elevenlabs" | "localai" | "browser" | "external" | undefined; voice?: string | undefined; languageTTS?: string | undefined; automaticPlayback?: boolean | undefined; playbackRate?: number | undefined; cacheTTS?: boolean | undefined; }, { engineTTS?: "azureOpenAI" | "openai" | "elevenlabs" | "localai" | "browser" | "external" | undefined; voice?: string | undefined; languageTTS?: string | undefined; automaticPlayback?: boolean | undefined; playbackRate?: number | undefined; cacheTTS?: boolean | undefined; }>]>>; }, "strip", z.ZodTypeAny, { conversationMode?: boolean | undefined; advancedMode?: boolean | undefined; speechToText?: boolean | { engineSTT?: "azureOpenAI" | "openai" | "browser" | "external" | undefined; languageSTT?: string | undefined; autoTranscribeAudio?: boolean | undefined; decibelValue?: number | undefined; autoSendText?: number | undefined; } | undefined; textToSpeech?: boolean | { engineTTS?: "azureOpenAI" | "openai" | "elevenlabs" | "localai" | "browser" | "external" | undefined; voice?: string | undefined; languageTTS?: string | undefined; automaticPlayback?: boolean | undefined; playbackRate?: number | undefined; cacheTTS?: boolean | undefined; } | undefined; }, { conversationMode?: boolean | undefined; advancedMode?: boolean | undefined; speechToText?: boolean | { engineSTT?: "azureOpenAI" | "openai" | "browser" | "external" | undefined; languageSTT?: string | undefined; autoTranscribeAudio?: boolean | undefined; decibelValue?: number | undefined; autoSendText?: number | undefined; } | undefined; textToSpeech?: boolean | { engineTTS?: "azureOpenAI" | "openai" | "elevenlabs" | "localai" | "browser" | "external" | undefined; voice?: string | undefined; languageTTS?: string | undefined; automaticPlayback?: boolean | undefined; playbackRate?: number | undefined; cacheTTS?: boolean | undefined; } | undefined; }>>>; }, "strip", z.ZodTypeAny, { tts?: { azureOpenAI?: { model: string; apiKey: string; voices: string[]; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; elevenlabs?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; } | undefined; localai?: { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; } | undefined; stt?: { azureOpenAI?: { apiKey: string; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; } | undefined; speechTab?: { conversationMode?: boolean | undefined; advancedMode?: boolean | undefined; speechToText?: boolean | { engineSTT?: "azureOpenAI" | "openai" | "browser" | "external" | undefined; languageSTT?: string | undefined; autoTranscribeAudio?: boolean | undefined; decibelValue?: number | undefined; autoSendText?: number | undefined; } | undefined; textToSpeech?: boolean | { engineTTS?: "azureOpenAI" | "openai" | "elevenlabs" | "localai" | "browser" | "external" | undefined; voice?: string | undefined; languageTTS?: string | undefined; automaticPlayback?: boolean | undefined; playbackRate?: number | undefined; cacheTTS?: boolean | undefined; } | undefined; } | undefined; }, { tts?: { azureOpenAI?: { model: string; apiKey: string; voices: string[]; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; elevenlabs?: { model: string; apiKey: string; voices: string[]; url?: string | undefined; apiKeyPreview?: string | undefined; websocketUrl?: string | undefined; voice_settings?: { style?: number | undefined; similarity_boost?: number | undefined; stability?: number | undefined; use_speaker_boost?: boolean | undefined; } | undefined; pronunciation_dictionary_locators?: string[] | undefined; } | undefined; localai?: { url: string; voices: string[]; backend: string; apiKey?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; } | undefined; stt?: { azureOpenAI?: { apiKey: string; instanceName: string; deploymentName: string; apiVersion: string; apiKeyPreview?: string | undefined; } | undefined; openai?: { model: string; apiKey: string; url?: string | undefined; apiKeyPreview?: string | undefined; } | undefined; allowedAddresses?: string[] | undefined; } | undefined; speechTab?: { conversationMode?: boolean | undefined; advancedMode?: boolean | undefined; speechToText?: boolean | { engineSTT?: "azureOpenAI" | "openai" | "browser" | "external" | undefined; languageSTT?: string | undefined; autoTranscribeAudio?: boolean | undefined; decibelValue?: number | undefined; autoSendText?: number | undefined; } | undefined; textToSpeech?: boolean | { engineTTS?: "azureOpenAI" | "openai" | "elevenlabs" | "localai" | "browser" | "external" | undefined; voice?: string | undefined; languageTTS?: string | undefined; automaticPlayback?: boolean | undefined; playbackRate?: number | undefined; cacheTTS?: boolean | undefined; } | undefined; } | undefined; }>>; rateLimits: z.ZodOptional; userWindowInMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; }, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; }>>; fileUploads: z.ZodOptional; ipWindowInMinutes: z.ZodOptional; userMax: z.ZodOptional; userWindowInMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }>>; conversationsImport: z.ZodOptional; ipWindowInMinutes: z.ZodOptional; userMax: z.ZodOptional; userWindowInMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }>>; tts: z.ZodOptional; ipWindowInMinutes: z.ZodOptional; userMax: z.ZodOptional; userWindowInMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }>>; stt: z.ZodOptional; ipWindowInMinutes: z.ZodOptional; userMax: z.ZodOptional; userWindowInMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }, { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { tts?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; stt?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; agentEvents?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; } | undefined; fileUploads?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; conversationsImport?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; }, { tts?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; stt?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; agentEvents?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; } | undefined; fileUploads?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; conversationsImport?: { userMax?: number | undefined; userWindowInMinutes?: number | undefined; ipMax?: number | undefined; ipWindowInMinutes?: number | undefined; } | undefined; }>>; fileConfig: z.ZodOptional; fileLimit: z.ZodOptional; fileSizeLimit: z.ZodOptional; totalSizeLimit: z.ZodOptional; supportedMimeTypes: z.ZodOptional>>; defaultLLMDeliveryPath: z.ZodOptional>; overrides: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; }, { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; }>>; legacyFileUploadUX: z.ZodOptional; }, "strip", z.ZodTypeAny, { disabled?: boolean | undefined; fileLimit?: number | undefined; fileSizeLimit?: number | undefined; totalSizeLimit?: number | undefined; supportedMimeTypes?: string[] | undefined; defaultLLMDeliveryPath?: { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; }, { disabled?: boolean | undefined; fileLimit?: number | undefined; fileSizeLimit?: number | undefined; totalSizeLimit?: number | undefined; supportedMimeTypes?: string[] | undefined; defaultLLMDeliveryPath?: { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; }>>>; skills: z.ZodOptional; }, "strip", z.ZodTypeAny, { fileSizeLimit?: number | undefined; }, { fileSizeLimit?: number | undefined; }>>; serverFileSizeLimit: z.ZodOptional; avatarSizeLimit: z.ZodOptional; fileTokenLimit: z.ZodOptional; fileContextSizeLimit: z.ZodOptional; fileContextCharLimit: z.ZodOptional; codeEnvLivenessSafeWindowMs: z.ZodOptional; imageGeneration: z.ZodOptional; px: z.ZodOptional; }, "strip", z.ZodTypeAny, { percentage?: number | undefined; px?: number | undefined; }, { percentage?: number | undefined; px?: number | undefined; }>>; clientImageResize: z.ZodOptional; maxWidth: z.ZodOptional; maxHeight: z.ZodOptional; quality: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; maxWidth?: number | undefined; maxHeight?: number | undefined; quality?: number | undefined; }, { enabled?: boolean | undefined; maxWidth?: number | undefined; maxHeight?: number | undefined; quality?: number | undefined; }>>; ocr: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { supportedMimeTypes?: string[] | undefined; }, { supportedMimeTypes?: string[] | undefined; }>>; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { supportedMimeTypes?: string[] | undefined; }, { supportedMimeTypes?: string[] | undefined; }>>; defaultLLMDeliveryPath: z.ZodOptional>; overrides: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; }, { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; }>>; legacyFileUploadUX: z.ZodOptional; }, "strip", z.ZodTypeAny, { ocr?: { supportedMimeTypes?: string[] | undefined; } | undefined; skills?: { fileSizeLimit?: number | undefined; } | undefined; text?: { supportedMimeTypes?: string[] | undefined; } | undefined; fileTokenLimit?: number | undefined; defaultLLMDeliveryPath?: { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; endpoints?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; }> | undefined; serverFileSizeLimit?: number | undefined; avatarSizeLimit?: number | undefined; fileContextSizeLimit?: number | undefined; fileContextCharLimit?: number | undefined; codeEnvLivenessSafeWindowMs?: number | undefined; imageGeneration?: { percentage?: number | undefined; px?: number | undefined; } | undefined; clientImageResize?: { enabled?: boolean | undefined; maxWidth?: number | undefined; maxHeight?: number | undefined; quality?: number | undefined; } | undefined; }, { ocr?: { supportedMimeTypes?: string[] | undefined; } | undefined; skills?: { fileSizeLimit?: number | undefined; } | undefined; text?: { supportedMimeTypes?: string[] | undefined; } | undefined; fileTokenLimit?: number | undefined; defaultLLMDeliveryPath?: { fallback?: "none" | "provider" | "text" | undefined; overrides?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; endpoints?: Record | undefined; } | undefined; legacyFileUploadUX?: boolean | undefined; }> | undefined; serverFileSizeLimit?: number | undefined; avatarSizeLimit?: number | undefined; fileContextSizeLimit?: number | undefined; fileContextCharLimit?: number | undefined; codeEnvLivenessSafeWindowMs?: number | undefined; imageGeneration?: { percentage?: number | undefined; px?: number | undefined; } | undefined; clientImageResize?: { enabled?: boolean | undefined; maxWidth?: number | undefined; maxHeight?: number | undefined; quality?: number | undefined; } | undefined; }>>; modelSpecs: z.ZodOptional; prioritize: z.ZodDefault; list: z.ZodDefault; context: z.ZodOptional>; artifacts: z.ZodOptional; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; model: z.ZodOptional>; endpointType: z.ZodOptional>>; archivedAt: z.ZodOptional>; pinned: z.ZodOptional; isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; resendFiles: z.ZodOptional; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; append_current_datetime: z.ZodOptional; stop: z.ZodOptional>; greeting: z.ZodOptional; iconURL: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; } & { endpoint: z.ZodOptional, z.ZodString]>>>; }, "strip", z.ZodTypeAny, { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: number | undefined; }, { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: string | number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: string | number | undefined; }>, { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: number | undefined; }, { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: string | number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: string | number | undefined; }>; order: z.ZodOptional; default: z.ZodOptional; softDefault: z.ZodOptional; description: z.ZodOptional; group: z.ZodOptional; groupIcon: z.ZodOptional]>>; showIconInMenu: z.ZodOptional; showIconInHeader: z.ZodOptional; showOnLanding: z.ZodOptional; conversation_starters: z.ZodOptional>; showInMenu: z.ZodOptional; iconURL: z.ZodOptional]>>; authType: z.ZodOptional>; hideBadgeRow: z.ZodOptional; webSearch: z.ZodOptional; fileSearch: z.ZodOptional; executeCode: z.ZodOptional; memory: z.ZodOptional; askUserQuestion: z.ZodOptional; runInBackground: z.ZodOptional]>>; describeIntent: z.ZodOptional]>>; artifacts: z.ZodOptional>; mcpServers: z.ZodOptional>; skills: z.ZodOptional]>>; subagents: z.ZodOptional; allowSelf: z.ZodOptional; shareFiles: z.ZodOptional; agent_ids: z.ZodOptional>; }, "strip", z.ZodTypeAny, { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; }, { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; }>, { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; }, { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { name: string; label: string; preset: { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: number | undefined; }; group?: string | undefined; description?: string | undefined; default?: boolean | undefined; memory?: boolean | undefined; artifacts?: string | boolean | undefined; skills?: boolean | string[] | undefined; subagents?: { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; } | undefined; conversation_starters?: string[] | undefined; iconURL?: string | undefined; order?: number | undefined; softDefault?: boolean | undefined; groupIcon?: string | undefined; showIconInMenu?: boolean | undefined; showIconInHeader?: boolean | undefined; showOnLanding?: boolean | undefined; showInMenu?: boolean | undefined; authType?: import("./schemas").AuthType | undefined; hideBadgeRow?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; executeCode?: boolean | undefined; askUserQuestion?: boolean | undefined; runInBackground?: boolean | string[] | undefined; describeIntent?: boolean | string[] | undefined; mcpServers?: string[] | undefined; }, { name: string; label: string; preset: { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: string | number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: string | number | undefined; }; group?: string | undefined; description?: string | undefined; default?: boolean | undefined; memory?: boolean | undefined; artifacts?: string | boolean | undefined; skills?: boolean | string[] | undefined; subagents?: { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; } | undefined; conversation_starters?: string[] | undefined; iconURL?: string | undefined; order?: number | undefined; softDefault?: boolean | undefined; groupIcon?: string | undefined; showIconInMenu?: boolean | undefined; showIconInHeader?: boolean | undefined; showOnLanding?: boolean | undefined; showInMenu?: boolean | undefined; authType?: import("./schemas").AuthType | undefined; hideBadgeRow?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; executeCode?: boolean | undefined; askUserQuestion?: boolean | undefined; runInBackground?: boolean | string[] | undefined; describeIntent?: boolean | string[] | undefined; mcpServers?: string[] | undefined; }>, "many">>; addedEndpoints: z.ZodOptional]>, "many">>; }, "strip", z.ZodTypeAny, { list: { name: string; label: string; preset: { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: number | undefined; }; group?: string | undefined; description?: string | undefined; default?: boolean | undefined; memory?: boolean | undefined; artifacts?: string | boolean | undefined; skills?: boolean | string[] | undefined; subagents?: { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; } | undefined; conversation_starters?: string[] | undefined; iconURL?: string | undefined; order?: number | undefined; softDefault?: boolean | undefined; groupIcon?: string | undefined; showIconInMenu?: boolean | undefined; showIconInHeader?: boolean | undefined; showOnLanding?: boolean | undefined; showInMenu?: boolean | undefined; authType?: import("./schemas").AuthType | undefined; hideBadgeRow?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; executeCode?: boolean | undefined; askUserQuestion?: boolean | undefined; runInBackground?: boolean | string[] | undefined; describeIntent?: boolean | string[] | undefined; mcpServers?: string[] | undefined; }[]; enforce: boolean; prioritize: boolean; addedEndpoints?: string[] | undefined; }, { list?: { name: string; label: string; preset: { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: import("./schemas").ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: import("./schemas").ImageDetail | undefined; reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined; reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined; reasoning_mode?: import("./schemas").ReasoningMode | null | undefined; reasoning_context?: import("./schemas").ReasoningContext | null | undefined; verbosity?: import("./schemas").Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: import("./schemas").AnthropicEffort | null | undefined; thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: string | number | undefined; additionalModelRequestFields?: (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | { [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null)[] | { [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null; } | null) | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: string | number | undefined; }; group?: string | undefined; description?: string | undefined; default?: boolean | undefined; memory?: boolean | undefined; artifacts?: string | boolean | undefined; skills?: boolean | string[] | undefined; subagents?: { agent_ids?: string[] | undefined; enabled?: boolean | undefined; allowSelf?: boolean | undefined; shareFiles?: boolean | undefined; } | undefined; conversation_starters?: string[] | undefined; iconURL?: string | undefined; order?: number | undefined; softDefault?: boolean | undefined; groupIcon?: string | undefined; showIconInMenu?: boolean | undefined; showIconInHeader?: boolean | undefined; showOnLanding?: boolean | undefined; showInMenu?: boolean | undefined; authType?: import("./schemas").AuthType | undefined; hideBadgeRow?: boolean | undefined; webSearch?: boolean | undefined; fileSearch?: boolean | undefined; executeCode?: boolean | undefined; askUserQuestion?: boolean | undefined; runInBackground?: boolean | string[] | undefined; describeIntent?: boolean | string[] | undefined; mcpServers?: string[] | undefined; }[] | undefined; enforce?: boolean | undefined; prioritize?: boolean | undefined; addedEndpoints?: string[] | undefined; }>>; filters: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; unattributedAssistantContent: z.ZodOptional>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; unattributedAssistantContent?: "model_output" | "inspect" | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; unattributedAssistantContent?: "model_output" | "inspect" | undefined; }>>; prompts: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; agentInstructions: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; conversationStarters: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; conversationTitles: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; feedback: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; skills: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; memories: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; files: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; } & { uninspectable: z.ZodOptional>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; } | undefined; }>>; toolArguments: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; modelParameters: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; actionMetadata: z.ZodOptional>; fields: z.ZodOptional, "many">>; starterPatterns: z.ZodOptional, "many">>; customPatterns: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; label: string; regex: string; }, { id: string; label: string; regex: string; }>, "many">>; }, "strict", z.ZodTypeAny, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; }, "strict", z.ZodTypeAny, { skills?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; messages?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; unattributedAssistantContent?: "model_output" | "inspect" | undefined; } | undefined; feedback?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; prompts?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; agentInstructions?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationStarters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationTitles?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; memories?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; files?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; } | undefined; } | undefined; toolArguments?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; modelParameters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; actionMetadata?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; }, { skills?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; messages?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; unattributedAssistantContent?: "model_output" | "inspect" | undefined; } | undefined; feedback?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; prompts?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; agentInstructions?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationStarters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationTitles?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; memories?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; files?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; } | undefined; } | undefined; toolArguments?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; modelParameters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; actionMetadata?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; }>, { skills?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; messages?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; unattributedAssistantContent?: "model_output" | "inspect" | undefined; } | undefined; feedback?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; prompts?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; agentInstructions?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationStarters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationTitles?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; memories?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; files?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; } | undefined; } | undefined; toolArguments?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; modelParameters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; actionMetadata?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; }, { skills?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "category" | "instructions" | "display_title" | "frontmatter" | "imported_text" | "file_name" | "file_text")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; messages?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "text" | "answer" | "decision_response" | "decision_reason" | "summary" | "quote" | "content_part" | "attachment_reference" | "assembled_context")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; unattributedAssistantContent?: "model_output" | "inspect" | undefined; } | undefined; feedback?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; prompts?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "context" | "category" | "instructions" | "additional_instructions" | "text" | "system" | "greeting" | "command" | "oneliner" | "preset_text" | "example_input" | "example_output")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; agentInstructions?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "description" | "artifacts" | "category" | "instructions" | "additional_instructions" | "edge_description" | "edge_prompt" | "edge_prompt_key" | "support_contact_name" | "support_contact_email")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationStarters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "text"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; conversationTitles?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: "title"[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; memories?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("value" | "key" | "summary")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; files?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "content" | "extracted_text" | "transcript" | "uri")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; uninspectable?: "allow" | "block" | undefined; } | undefined; } | undefined; toolArguments?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("name" | "output" | "arguments")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; modelParameters?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("metadata" | "stop" | "request_fields" | "response_format")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; actionMetadata?: { pii?: { action?: "block" | "audit" | undefined; starterPatterns?: ("sk_prefix" | "bearer_header" | "api_key_header")[] | undefined; fields?: ("scope" | "raw_spec" | "domain" | "privacy_policy_url" | "authorization_type" | "custom_auth_header" | "authorization_content_type" | "authorization_url" | "client_url" | "token_exchange_method" | "api_key" | "oauth_client_id" | "oauth_client_secret")[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; } | undefined; }>>; messageFilter: z.ZodOptional>; customPatterns: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }, { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; }>>; }, "strip", z.ZodTypeAny, { pii?: { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }, { pii?: { starterPatterns?: string[] | undefined; customPatterns?: { id: string; label: string; regex: string; }[] | undefined; } | undefined; }>>; endpoints: z.ZodOptional, string, string>, string, string>, string, string>, "many">>; /** * Defaults applied to every endpoint. Omit-based, so options added to * `baseEndpointSchema` are inherited here automatically — no list to * maintain (contrast `azureEndpointSchema`, which enumerates via * `.pick()`). Resolution order at read sites is `all` > the named * endpoint > a custom endpoint's own config. */ all: z.ZodOptional; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; }, "baseURL">, "strip", z.ZodTypeAny, { streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; }, { streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; }>>; openAI: z.ZodOptional; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; }, "strip", z.ZodTypeAny, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; }, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; }>>; google: z.ZodOptional; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; }, "strip", z.ZodTypeAny, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; }, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; }>>; anthropic: z.ZodOptional; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; } & { /** Vertex AI configuration for running Anthropic models on Google Cloud */ vertex: z.ZodOptional; /** Google Cloud Project ID (optional - auto-detected from service key file if not provided) */ projectId: z.ZodOptional; /** Vertex AI region (e.g., 'us-east5', 'europe-west1') */ region: z.ZodDefault; /** Optional: Path to service account key file */ serviceKeyFile: z.ZodOptional; /** Optional: Default deployment name for all models (can be overridden per model) */ deploymentName: z.ZodOptional; /** Optional: Available models - can be string array or object with deploymentName mapping */ models: z.ZodOptional, z.ZodRecord; }, "strip", z.ZodTypeAny, { deploymentName?: string | undefined; }, { deploymentName?: string | undefined; }>, z.ZodBoolean]>>]>>; }, "strip", z.ZodTypeAny, { region: string; enabled?: boolean | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; }, { enabled?: boolean | undefined; region?: string | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; }>>; /** Optional: List of available models */ models: z.ZodOptional>; }, "strip", z.ZodTypeAny, { vertex?: { region: string; enabled?: boolean | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; }, { vertex?: { enabled?: boolean | undefined; region?: string | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; }>>; azureOpenAI: z.ZodOptional; version: z.ZodOptional; assistants: z.ZodOptional; }, "strip", z.ZodTypeAny, { assistants?: boolean | undefined; version?: string | undefined; deploymentName?: string | undefined; }, { assistants?: boolean | undefined; version?: string | undefined; deploymentName?: string | undefined; }>, z.ZodBoolean]>>; }, "strip", z.ZodTypeAny, { group: string; models: Record; }, { group: string; models: Record; }>, z.ZodObject<{ apiKey: z.ZodString; serverless: z.ZodOptional; instanceName: z.ZodOptional; deploymentName: z.ZodOptional; assistants: z.ZodOptional; addParams: z.ZodOptional, z.ZodTypeDef, Record>>; dropParams: z.ZodOptional>; version: z.ZodOptional; baseURL: z.ZodOptional; additionalHeaders: z.ZodOptional>; }, "strip", z.ZodTypeAny, { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; }, { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; }>>, "many">; assistants: z.ZodOptional; }, "strip", z.ZodTypeAny, { groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; }, { groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; }>, z.ZodObject<{ streamRate: z.ZodOptional>; titlePrompt: z.ZodOptional>; titleModel: z.ZodOptional>; titleConvo: z.ZodOptional>; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>>; titlePromptTemplate: z.ZodOptional>; titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>>; activityLabel: z.ZodOptional>; activityModel: z.ZodOptional>; activityEndpoint: z.ZodOptional>; activityPrompt: z.ZodOptional>; activityMaxPerRun: z.ZodOptional>; activityCharLimit: z.ZodOptional>; activityPhaseLabel: z.ZodOptional>; activityPhaseModel: z.ZodOptional>; activityPhaseEndpoint: z.ZodOptional>; activityPhasePrompt: z.ZodOptional>; activityPhaseMaxPerRun: z.ZodOptional>; reasoningLabel: z.ZodOptional>; reasoningLabelModel: z.ZodOptional>; reasoningLabelEndpoint: z.ZodOptional>; reasoningLabelPrompt: z.ZodOptional>; reasoningLabelMinChars: z.ZodOptional>; reasoningLabelUpdateChars: z.ZodOptional>; reasoningLabelUpdateIntervalMs: z.ZodOptional>; reasoningLabelMaxPerRun: z.ZodOptional>; }, "strip", z.ZodTypeAny, { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }, { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }>>>; azureAssistants: z.ZodOptional; baseURL: z.ZodOptional; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; activityLabel: z.ZodOptional; activityModel: z.ZodOptional; activityEndpoint: z.ZodOptional; activityPrompt: z.ZodOptional; activityMaxPerRun: z.ZodOptional; activityCharLimit: z.ZodOptional; activityPhaseLabel: z.ZodOptional; activityPhaseModel: z.ZodOptional; activityPhaseEndpoint: z.ZodOptional; activityPhasePrompt: z.ZodOptional; activityPhaseMaxPerRun: z.ZodOptional; reasoningLabel: z.ZodOptional; reasoningLabelModel: z.ZodOptional; reasoningLabelEndpoint: z.ZodOptional; reasoningLabelPrompt: z.ZodOptional; reasoningLabelMinChars: z.ZodOptional; reasoningLabelUpdateChars: z.ZodOptional; reasoningLabelUpdateIntervalMs: z.ZodOptional; reasoningLabelMaxPerRun: z.ZodOptional; maxToolResultChars: z.ZodOptional; } & { disableBuilder: z.ZodOptional; pollIntervalMs: z.ZodOptional; timeoutMs: z.ZodOptional; version: z.ZodDefault>; supportedIds: z.ZodOptional>; excludedIds: z.ZodOptional>; privateAssistants: z.ZodOptional; retrievalModels: z.ZodDefault>>; capabilities: z.ZodDefault, "many">>>; apiKey: z.ZodOptional; apiKeyPreview: z.ZodOptional; models: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; }, { name: string; description?: string | undefined; }>]>, "many">; fetch: z.ZodOptional; userIdQuery: z.ZodOptional; }, "strip", z.ZodTypeAny, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }>>; headers: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string | number; capabilities: Capabilities[]; retrievalModels: string[]; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; }, { version?: string | number | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; capabilities?: Capabilities[] | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; retrievalModels?: string[] | undefined; }>>; assistants: z.ZodOptional; baseURL: z.ZodOptional; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; activityLabel: z.ZodOptional; activityModel: z.ZodOptional; activityEndpoint: z.ZodOptional; activityPrompt: z.ZodOptional; activityMaxPerRun: z.ZodOptional; activityCharLimit: z.ZodOptional; activityPhaseLabel: z.ZodOptional; activityPhaseModel: z.ZodOptional; activityPhaseEndpoint: z.ZodOptional; activityPhasePrompt: z.ZodOptional; activityPhaseMaxPerRun: z.ZodOptional; reasoningLabel: z.ZodOptional; reasoningLabelModel: z.ZodOptional; reasoningLabelEndpoint: z.ZodOptional; reasoningLabelPrompt: z.ZodOptional; reasoningLabelMinChars: z.ZodOptional; reasoningLabelUpdateChars: z.ZodOptional; reasoningLabelUpdateIntervalMs: z.ZodOptional; reasoningLabelMaxPerRun: z.ZodOptional; maxToolResultChars: z.ZodOptional; } & { disableBuilder: z.ZodOptional; pollIntervalMs: z.ZodOptional; timeoutMs: z.ZodOptional; version: z.ZodDefault>; supportedIds: z.ZodOptional>; excludedIds: z.ZodOptional>; privateAssistants: z.ZodOptional; retrievalModels: z.ZodDefault>>; capabilities: z.ZodDefault, "many">>>; apiKey: z.ZodOptional; apiKeyPreview: z.ZodOptional; models: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; }, { name: string; description?: string | undefined; }>]>, "many">; fetch: z.ZodOptional; userIdQuery: z.ZodOptional; }, "strip", z.ZodTypeAny, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }>>; headers: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string | number; capabilities: Capabilities[]; retrievalModels: string[]; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; }, { version?: string | number | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; capabilities?: Capabilities[] | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; retrievalModels?: string[] | undefined; }>>; agents: z.ZodOptional; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; }, "baseURL"> & { recursionLimit: z.ZodOptional; disableBuilder: z.ZodDefault>; maxRecursionLimit: z.ZodOptional; /** Max cumulative bytes a single streamed tool call's arguments may reach before the run * aborts. Defaults to 64 KiB in the agents SDK; `0` disables the guard. */ maxToolCallArgBytes: z.ZodOptional; /** Max streamed chunk events per model generation before the run aborts. Off by default. */ maxDeltaEventsPerTurn: z.ZodOptional; /** Per-tool overrides of `maxToolCallArgBytes`, keyed by model-facing tool name; `0` * disables the guard for that tool only. Merged over LibreChat's shipped default of * `{ create_file: 131072 }`. */ maxToolCallArgBytesByTool: z.ZodOptional>; maxCitations: z.ZodDefault>; maxCitationsPerFile: z.ZodDefault>; minRelevanceScore: z.ZodDefault>; /** Maximum explicit subagents per agent (`agent_ids` and `graphs`); raised from * the shipped default of 10 for orchestration-heavy deployments, bounded by * `MAX_SUBAGENTS_CEILING`. */ maxSubagents: z.ZodDefault>; /** Run-scoped file access for explicitly opted-in subagent delegations. */ fileSharing: z.ZodOptional>; allowSiblingSharing: z.ZodDefault>; maxFiles: z.ZodDefault>; /** Aggregate disk budget for private output versions retained during a run. */ maxPrivateBytes: z.ZodDefault>; ttlMs: z.ZodDefault>; }, "strip", z.ZodTypeAny, { enabled: boolean; allowSiblingSharing: boolean; maxFiles: number; maxPrivateBytes: number; ttlMs: number; }, { enabled?: boolean | undefined; allowSiblingSharing?: boolean | undefined; maxFiles?: number | undefined; maxPrivateBytes?: number | undefined; ttlMs?: number | undefined; }>>; /** Maximum concurrent Code API uploads per route and authenticated principal. */ codeApiUploadConcurrency: z.ZodDefault>; /** Maximum wall-clock time spent waiting on Code API rate limits per operation. */ codeApiMaxRetryWaitMs: z.ZodDefault>; allowedProviders: z.ZodOptional]>, "many">>; capabilities: z.ZodDefault, "many">>>; /** Controls which workspace-sharing scopes users may select for stateful code sessions. * Omit this block to preserve the legacy behavior of allowing every scope. */ statefulCodeSessions: z.ZodOptional, "many">; /** Server-only personal worker enrollment policy. Effective principal * policy may tighten, but never raise, the deployment ceiling. */ principalWorkers: z.ZodOptional; /** Defaults to five. Zero disables enrollment; existing machines remain usable. */ maxPerUser: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; maxPerUser?: number | undefined; }, { enabled?: boolean | undefined; maxPerUser?: number | undefined; }>>; /** Operator-managed execution environments. Attached entries route to a * Code API deployment backed by an outbound librechat-code worker. */ environments: z.ZodOptional; baseURL: z.ZodEffects; default: z.ZodOptional; /** Server-only outbound worker route. Removed from public config. */ workerId: z.ZodOptional; /** Distinguishes operator policy from a principal-authorized * environment merged into request-scoped server config. */ owner: z.ZodDefault>>; /** Administrator-controlled user-tunable settings. Only fields * represented here may be changed by a principal. */ configSchema: z.ZodOptional, "many">; default: z.ZodDefault>>; }, "strict", z.ZodTypeAny, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>>; commandExecution: z.ZodOptional, "many">; default: z.ZodDefault>>; }, "strict", z.ZodTypeAny, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>, { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; }, { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; }>>; }, "strict", z.ZodTypeAny, { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; }, { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; }>>; limits: z.ZodOptional; }, "strict", z.ZodTypeAny, { maxCommandTimeoutMs?: number | undefined; }, { maxCommandTimeoutMs?: number | undefined; }>>; }, "strict", z.ZodTypeAny, { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; }, { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; }>>; /** Request-scoped effective settings for a principal-owned environment. * Deployment config should define defaults through configSchema instead. */ settings: z.ZodOptional>; commandExecution: z.ZodOptional>; }, "strict", z.ZodTypeAny, { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; }, { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; }>>; }, "strict", z.ZodTypeAny, { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; }, { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; }>>; /** Server-only enrollment metadata. `tokenEnv` names an * environment variable and never contains the token itself. */ pairing: z.ZodOptional; allowPrincipalWorkers: z.ZodDefault>; tokenEnv: z.ZodString; }, "strip", z.ZodTypeAny, { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; }, { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; }>, { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; }, { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }, { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }[] | undefined; }, { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }[] | undefined; }>, { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }[] | undefined; }, { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }[] | undefined; }>>; /** Optional trusted origin for in-process agent event delivery. */ eventDriven: z.ZodOptional; }, "strip", z.ZodTypeAny, { selfUrl?: string | undefined; }, { selfUrl?: string | undefined; }>>; /** Conversational background-task delivery policy. Automatic completion wakeups are * enabled unless an administrator explicitly restores poll-only behavior. */ backgroundTasks: z.ZodOptional>; /** Cooperative cancellation for process-local ordinary tools. Off * by default so existing deployments opt into the new control. */ ordinaryToolCancellation: z.ZodDefault>; }, "strip", z.ZodTypeAny, { completionWakeups: boolean; ordinaryToolCancellation: boolean; }, { completionWakeups?: boolean | undefined; ordinaryToolCancellation?: boolean | undefined; }>>; skills: z.ZodOptional; }, "strip", z.ZodTypeAny, { maxCatalogSkills?: number | undefined; }, { maxCatalogSkills?: number | undefined; }>>; managementApi: z.ZodOptional; issuer: z.ZodOptional>; audience: z.ZodOptional; jwksUri: z.ZodOptional>; }, "strict", z.ZodTypeAny, { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }, { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }>, { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }, { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }>; clients: z.ZodDefault; userId: z.ZodEffects; tenantId: z.ZodEffects; enabled: z.ZodDefault; }, "strict", z.ZodTypeAny, { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }, { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; }, { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; }>, { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; }, { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { auth?: { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; } | undefined; }, { auth?: { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; } | undefined; }>>; remoteApi: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled: boolean; }, { enabled?: boolean | undefined; }>>; oidc: z.ZodOptional; issuer: z.ZodOptional>; audience: z.ZodOptional; jwksUri: z.ZodOptional>; } & { scope: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; }, { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; }>, { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; }, { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { oidc?: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled: boolean; } | undefined; }, { oidc?: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled?: boolean | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { auth?: { oidc?: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled: boolean; } | undefined; } | undefined; }, { auth?: { oidc?: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled?: boolean | undefined; } | undefined; } | undefined; }>>; /** Human-in-the-loop tool approval policy. Off by default. */ toolApproval: z.ZodOptional; mode: z.ZodOptional>; allow: z.ZodOptional>; deny: z.ZodOptional>; ask: z.ZodOptional>; /** Optional reason template surfaced in the prompt; `{tool}` is interpolated. */ reason: z.ZodOptional; /** * Programmatic policy hooks loaded from modules at startup. They layer on top of the * static lists above for dynamic, context-aware decisions the lists can't express * (per-args, per-agent, per-user). See {@link toolApprovalHookConfigSchema}. * * BASE-CONFIG ONLY: hooks are imported + registered once, process-wide, at server * startup — they are NOT reloaded from per-role/user/tenant admin overrides. Encode * per-user/tenant behavior INSIDE the hook (via its runtime context), not by varying the * module list per override. Honored only when `enabled` is true. */ hooks: z.ZodOptional; /** Static options forwarded to the module's builder; the hook's own per-call config. */ options: z.ZodOptional>; }, "strip", z.ZodTypeAny, { module: string; options?: Record | undefined; matcher?: string | undefined; }, { module: string; options?: Record | undefined; matcher?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; }, { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; }>>; /** Durable checkpointer backing tool-approval and Ask User resume. * Defaults to the app's MongoDB when either flow needs it. */ checkpointer: z.ZodOptional>; /** * Approval window, in seconds: how long a paused run waits for a decision * before it is reclaimed. Drives both the Mongo TTL index on checkpoints and * the pending-action expiry, keeping the two layers in lockstep. Defaults to * 86400 (24h). Raise it for longer review windows. */ ttl: z.ZodOptional; /** Advanced: override the Mongo collection names used for checkpoints. */ checkpointCollectionName: z.ZodOptional; checkpointWritesCollectionName: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; }, { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { disableBuilder: boolean; maxCitations: number; maxCitationsPerFile: number; minRelevanceScore: number; maxSubagents: number; codeApiUploadConcurrency: number; codeApiMaxRetryWaitMs: number; capabilities: AgentCapabilities[]; skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; fileSharing?: { enabled: boolean; allowSiblingSharing: boolean; maxFiles: number; maxPrivateBytes: number; ttlMs: number; } | undefined; allowedProviders?: string[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups: boolean; ordinaryToolCancellation: boolean; } | undefined; managementApi?: { auth?: { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled: boolean; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; }, { skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; disableBuilder?: boolean | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; maxCitations?: number | undefined; maxCitationsPerFile?: number | undefined; minRelevanceScore?: number | undefined; maxSubagents?: number | undefined; fileSharing?: { enabled?: boolean | undefined; allowSiblingSharing?: boolean | undefined; maxFiles?: number | undefined; maxPrivateBytes?: number | undefined; ttlMs?: number | undefined; } | undefined; codeApiUploadConcurrency?: number | undefined; codeApiMaxRetryWaitMs?: number | undefined; allowedProviders?: string[] | undefined; capabilities?: AgentCapabilities[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups?: boolean | undefined; ordinaryToolCancellation?: boolean | undefined; } | undefined; managementApi?: { auth?: { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled?: boolean | undefined; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; }>>>; custom: z.ZodOptional>; titlePrompt: z.ZodOptional>; titleModel: z.ZodOptional>; titleConvo: z.ZodOptional>; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>>; titleEndpoint: z.ZodOptional>; titlePromptTemplate: z.ZodOptional>; titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>>; activityLabel: z.ZodOptional>; activityModel: z.ZodOptional>; activityEndpoint: z.ZodOptional>; activityPrompt: z.ZodOptional>; activityMaxPerRun: z.ZodOptional>; activityCharLimit: z.ZodOptional>; activityPhaseLabel: z.ZodOptional>; activityPhaseModel: z.ZodOptional>; activityPhaseEndpoint: z.ZodOptional>; activityPhasePrompt: z.ZodOptional>; activityPhaseMaxPerRun: z.ZodOptional>; reasoningLabel: z.ZodOptional>; reasoningLabelModel: z.ZodOptional>; reasoningLabelEndpoint: z.ZodOptional>; reasoningLabelPrompt: z.ZodOptional>; reasoningLabelMinChars: z.ZodOptional>; reasoningLabelUpdateChars: z.ZodOptional>; reasoningLabelUpdateIntervalMs: z.ZodOptional>; reasoningLabelMaxPerRun: z.ZodOptional>; maxToolResultChars: z.ZodOptional>; name: z.ZodOptional>; apiKey: z.ZodOptional; apiKeyPreview: z.ZodOptional>; baseURL: z.ZodOptional; models: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; }, { name: string; description?: string | undefined; }>]>, "many">; fetch: z.ZodOptional; userIdQuery: z.ZodOptional; }, "strip", z.ZodTypeAny, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }, { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; }>>; iconURL: z.ZodOptional>; modelDisplayLabel: z.ZodOptional>; provider: z.ZodOptional>>; headers: z.ZodOptional>>; addParams: z.ZodOptional, z.ZodTypeDef, Record>>>; dropParams: z.ZodOptional>>; customParams: z.ZodOptional; reasoningFormat: z.ZodOptional>; reasoningKey: z.ZodOptional>; /** Replays `reasoning_content` within a run's tool-call turns (e.g. Xiaomi MiMo, Kimi). */ includeReasoningContent: z.ZodOptional; /** Also reconstructs `reasoning_content` from persisted history across turns (implies `includeReasoningContent`). */ includeReasoningHistory: z.ZodOptional; paramDefinitions: z.ZodOptional; type: z.ZodOptional>; default: z.ZodOptional]>>; showLabel: z.ZodOptional; showDefault: z.ZodOptional; options: z.ZodOptional>; range: z.ZodOptional; positiveMin: z.ZodOptional; }, "strip", z.ZodTypeAny, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }>, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }, { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; }>>; enumMappings: z.ZodOptional>>; component: z.ZodOptional>; optionType: z.ZodOptional>; columnSpan: z.ZodOptional; columns: z.ZodOptional; label: z.ZodOptional; placeholder: z.ZodOptional; labelCode: z.ZodOptional; placeholderCode: z.ZodOptional; descriptionCode: z.ZodOptional; minText: z.ZodOptional; maxText: z.ZodOptional; minTags: z.ZodOptional; maxTags: z.ZodOptional; includeInput: z.ZodOptional; descriptionSide: z.ZodOptional>; searchPlaceholder: z.ZodOptional; selectPlaceholder: z.ZodOptional; searchPlaceholderCode: z.ZodOptional; selectPlaceholderCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }, { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { defaultParamsEndpoint: string; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; }, { defaultParamsEndpoint?: string | undefined; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; }>>>; directEndpoint: z.ZodOptional>; titleMessageRole: z.ZodOptional>>; tokenConfig: z.ZodOptional; cacheWrite: z.ZodOptional; }, "strip", z.ZodTypeAny, { context: number; prompt: number; completion: number; cacheRead?: number | undefined; cacheWrite?: number | undefined; }, { context: number; prompt: number; completion: number; cacheRead?: number | undefined; cacheWrite?: number | undefined; }>>>>; }, "strip", z.ZodTypeAny, { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint: string; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }, { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint?: string | undefined; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }>, "many">>>; bedrock: z.ZodOptional; baseURL: z.ZodOptional; /** * Custom request headers forwarded to the provider on every request. Values * support the same placeholder resolution as custom endpoints — env vars * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in * providers through an AI gateway / reverse proxy that consumes metadata * headers (provider-native request shaping is preserved). */ headers: z.ZodOptional>; titlePrompt: z.ZodOptional; titleModel: z.ZodOptional; titleConvo: z.ZodOptional; titleMethod: z.ZodOptional, z.ZodLiteral<"functions">, z.ZodLiteral<"structured">]>>; titleEndpoint: z.ZodOptional; titlePromptTemplate: z.ZodOptional; /** * When conversation titles are generated. `immediate` (default) generates the * title as soon as the request is made, in parallel with the response, from the * user's first message. `final` defers generation until the full response * completes (legacy behavior). */ titleTiming: z.ZodOptional, z.ZodLiteral<"final">]>>; /** * Agent activity groups: collapse each contiguous block of reasoning and * tool calls under a generated one-line header. Mirrors the title options * above — `activityLabel` enables it (like `titleConvo`), the rest tune * the fast model that writes the label. * * NOTE: fields added here reach `endpoints.all` automatically (that schema * is `baseEndpointSchema.omit({ baseURL })`), but NOT Azure — see the * enumerated `.pick()` in `azureEndpointSchema` below. */ activityLabel: z.ZodOptional; /** Model used to write activity labels. Defaults to `titleModel`, then the agent's model. */ activityModel: z.ZodOptional; /** Endpoint whose credentials the label model runs on. Defaults to the agent's endpoint. */ activityEndpoint: z.ZodOptional; /** Overrides the system prompt used to write activity labels. */ activityPrompt: z.ZodOptional; /** Cost cap: maximum labels generated per run. Default 20. */ activityMaxPerRun: z.ZodOptional; /** Per-entry truncation of tool input/output in the label prompt. Default 600. */ activityCharLimit: z.ZodOptional; /** Generates one parent summary for each run phase containing 2+ activities. */ activityPhaseLabel: z.ZodOptional; /** Model used for phase summaries. Defaults to activityModel, titleModel, then the run model. */ activityPhaseModel: z.ZodOptional; /** Endpoint whose credentials the phase summary model uses. Defaults to activityEndpoint. */ activityPhaseEndpoint: z.ZodOptional; /** Overrides the dedicated phase-summary system prompt. */ activityPhasePrompt: z.ZodOptional; /** Cost cap: maximum phase summaries generated per run. Default 5. */ activityPhaseMaxPerRun: z.ZodOptional; /** Generates a live orientation label for sufficiently long top-level response reasoning. */ reasoningLabel: z.ZodOptional; /** Model used for reasoning labels. Defaults to activityModel, titleModel, then run model. */ reasoningLabelModel: z.ZodOptional; /** Endpoint receiving the bounded visible-reasoning snapshot. Defaults to activityEndpoint. */ reasoningLabelEndpoint: z.ZodOptional; /** Overrides the dedicated reasoning-label system prompt. */ reasoningLabelPrompt: z.ZodOptional; /** Characters required before the first reasoning label. Default 500. */ reasoningLabelMinChars: z.ZodOptional; /** New characters required between streaming revisions. Default 400. */ reasoningLabelUpdateChars: z.ZodOptional; /** Minimum milliseconds between streaming revisions. Default 3000. */ reasoningLabelUpdateIntervalMs: z.ZodOptional; /** Cost cap: maximum reasoning-label provider calls attempted per run. Default 8. */ reasoningLabelMaxPerRun: z.ZodOptional; /** Maximum characters allowed in a single tool result before truncation. */ maxToolResultChars: z.ZodOptional; } & { availableRegions: z.ZodOptional>; models: z.ZodOptional>; guardrailConfig: z.ZodOptional>; streamProcessingMode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; }, { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; }>>; inferenceProfiles: z.ZodOptional>; }, "strip", z.ZodTypeAny, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; }, { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; }>>; }, "strict", z.ZodTypeAny, { azureOpenAI?: ({ groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; } & { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }) | undefined; openAI?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; google?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; anthropic?: { vertex?: { region: string; enabled?: boolean | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; } | undefined; assistants?: { version: string | number; capabilities: Capabilities[]; retrievalModels: string[]; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; } | undefined; azureAssistants?: { version: string | number; capabilities: Capabilities[]; retrievalModels: string[]; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; } | undefined; agents?: { disableBuilder: boolean; maxCitations: number; maxCitationsPerFile: number; minRelevanceScore: number; maxSubagents: number; codeApiUploadConcurrency: number; codeApiMaxRetryWaitMs: number; capabilities: AgentCapabilities[]; skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; fileSharing?: { enabled: boolean; allowSiblingSharing: boolean; maxFiles: number; maxPrivateBytes: number; ttlMs: number; } | undefined; allowedProviders?: string[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups: boolean; ordinaryToolCancellation: boolean; } | undefined; managementApi?: { auth?: { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled: boolean; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; } | undefined; custom?: { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint: string; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }[] | undefined; bedrock?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; } | undefined; allowedAddresses?: string[] | undefined; all?: { streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; }, { azureOpenAI?: ({ groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; } & { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }) | undefined; openAI?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; google?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; anthropic?: { vertex?: { enabled?: boolean | undefined; region?: string | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; } | undefined; assistants?: { version?: string | number | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; capabilities?: Capabilities[] | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; retrievalModels?: string[] | undefined; } | undefined; azureAssistants?: { version?: string | number | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; capabilities?: Capabilities[] | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; retrievalModels?: string[] | undefined; } | undefined; agents?: { skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; disableBuilder?: boolean | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; maxCitations?: number | undefined; maxCitationsPerFile?: number | undefined; minRelevanceScore?: number | undefined; maxSubagents?: number | undefined; fileSharing?: { enabled?: boolean | undefined; allowSiblingSharing?: boolean | undefined; maxFiles?: number | undefined; maxPrivateBytes?: number | undefined; ttlMs?: number | undefined; } | undefined; codeApiUploadConcurrency?: number | undefined; codeApiMaxRetryWaitMs?: number | undefined; allowedProviders?: string[] | undefined; capabilities?: AgentCapabilities[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups?: boolean | undefined; ordinaryToolCancellation?: boolean | undefined; } | undefined; managementApi?: { auth?: { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled?: boolean | undefined; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; } | undefined; custom?: { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint?: string | undefined; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }[] | undefined; bedrock?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; } | undefined; allowedAddresses?: string[] | undefined; all?: { streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; }>, { azureOpenAI?: ({ groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; } & { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }) | undefined; openAI?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; google?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; anthropic?: { vertex?: { region: string; enabled?: boolean | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; } | undefined; assistants?: { version: string | number; capabilities: Capabilities[]; retrievalModels: string[]; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; } | undefined; azureAssistants?: { version: string | number; capabilities: Capabilities[]; retrievalModels: string[]; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; } | undefined; agents?: { disableBuilder: boolean; maxCitations: number; maxCitationsPerFile: number; minRelevanceScore: number; maxSubagents: number; codeApiUploadConcurrency: number; codeApiMaxRetryWaitMs: number; capabilities: AgentCapabilities[]; skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; fileSharing?: { enabled: boolean; allowSiblingSharing: boolean; maxFiles: number; maxPrivateBytes: number; ttlMs: number; } | undefined; allowedProviders?: string[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { owner: "deployment" | "principal"; type: "attached" | "managed"; id: string; name: string; baseURL: string; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; commandExecution?: { default: "ask" | "allow" | "deny"; allowed: ("ask" | "allow" | "deny")[]; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { allowPrincipalWorkers: boolean; tokenEnv: string; workerId?: string | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups: boolean; ordinaryToolCancellation: boolean; } | undefined; managementApi?: { auth?: { oidc: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients: { enabled: boolean; clientId: string; userId: string; tenantId: string; subject?: string | undefined; }[]; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled: boolean; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled: boolean; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; } | undefined; custom?: { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint: string; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }[] | undefined; bedrock?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; } | undefined; allowedAddresses?: string[] | undefined; all?: { streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; }, { azureOpenAI?: ({ groups: ({ group: string; models: Record; } & { apiKey: string; assistants?: boolean | undefined; version?: string | undefined; baseURL?: string | undefined; instanceName?: string | undefined; deploymentName?: string | undefined; serverless?: boolean | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; additionalHeaders?: Record | undefined; })[]; assistants?: boolean | undefined; } & { streamRate?: number | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; }) | undefined; openAI?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; google?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; anthropic?: { vertex?: { enabled?: boolean | undefined; region?: string | undefined; projectId?: string | undefined; deploymentName?: string | undefined; serviceKeyFile?: string | undefined; models?: string[] | Record | undefined; } | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; } | undefined; assistants?: { version?: string | number | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; capabilities?: Capabilities[] | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; retrievalModels?: string[] | undefined; } | undefined; azureAssistants?: { version?: string | number | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; disableBuilder?: boolean | undefined; capabilities?: Capabilities[] | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; pollIntervalMs?: number | undefined; timeoutMs?: number | undefined; supportedIds?: string[] | undefined; excludedIds?: string[] | undefined; privateAssistants?: boolean | undefined; retrievalModels?: string[] | undefined; } | undefined; agents?: { skills?: { maxCatalogSkills?: number | undefined; } | undefined; streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; recursionLimit?: number | undefined; disableBuilder?: boolean | undefined; maxRecursionLimit?: number | undefined; maxToolCallArgBytes?: number | undefined; maxDeltaEventsPerTurn?: number | undefined; maxToolCallArgBytesByTool?: Record | undefined; maxCitations?: number | undefined; maxCitationsPerFile?: number | undefined; minRelevanceScore?: number | undefined; maxSubagents?: number | undefined; fileSharing?: { enabled?: boolean | undefined; allowSiblingSharing?: boolean | undefined; maxFiles?: number | undefined; maxPrivateBytes?: number | undefined; ttlMs?: number | undefined; } | undefined; codeApiUploadConcurrency?: number | undefined; codeApiMaxRetryWaitMs?: number | undefined; allowedProviders?: string[] | undefined; capabilities?: AgentCapabilities[] | undefined; statefulCodeSessions?: { allowedEnvironments: ("user" | "agent-user" | "conversation")[]; principalWorkers?: { enabled?: boolean | undefined; maxPerUser?: number | undefined; } | undefined; environments?: { type: "attached" | "managed"; id: string; name: string; baseURL: string; owner?: "deployment" | "principal" | undefined; default?: boolean | undefined; configSchema?: { permissions?: { fileWrite?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; commandExecution?: { allowed: ("ask" | "allow" | "deny")[]; default?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; limits?: { maxCommandTimeoutMs?: number | undefined; } | undefined; } | undefined; settings?: { permissions?: { fileWrite?: "ask" | "allow" | "deny" | undefined; commandExecution?: "ask" | "allow" | "deny" | undefined; } | undefined; } | undefined; workerId?: string | undefined; pairing?: { tokenEnv: string; workerId?: string | undefined; allowPrincipalWorkers?: boolean | undefined; } | undefined; }[] | undefined; } | undefined; eventDriven?: { selfUrl?: string | undefined; } | undefined; backgroundTasks?: { completionWakeups?: boolean | undefined; ordinaryToolCancellation?: boolean | undefined; } | undefined; managementApi?: { auth?: { oidc: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; }; clients?: { clientId: string; userId: string; tenantId: string; enabled?: boolean | undefined; subject?: string | undefined; }[] | undefined; } | undefined; } | undefined; remoteApi?: { auth?: { oidc?: { enabled?: boolean | undefined; issuer?: string | undefined; audience?: string | undefined; jwksUri?: string | undefined; scope?: string | undefined; } | undefined; apiKey?: { enabled?: boolean | undefined; } | undefined; } | undefined; } | undefined; toolApproval?: { ask?: string[] | undefined; allow?: string[] | undefined; deny?: string[] | undefined; enabled?: boolean | undefined; mode?: "default" | "dontAsk" | "bypass" | undefined; reason?: string | undefined; hooks?: { module: string; options?: Record | undefined; matcher?: string | undefined; }[] | undefined; } | undefined; checkpointer?: { type?: "memory" | "mongo" | undefined; ttl?: number | undefined; checkpointCollectionName?: string | undefined; checkpointWritesCollectionName?: string | undefined; } | undefined; } | undefined; custom?: { name?: string | undefined; provider?: EModelEndpoint.anthropic | undefined; iconURL?: string | undefined; streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; apiKey?: string | undefined; apiKeyPreview?: string | undefined; models?: { default: (string | { name: string; description?: string | undefined; })[]; fetch?: boolean | undefined; userIdQuery?: boolean | undefined; } | undefined; addParams?: Record | undefined; dropParams?: string[] | undefined; modelDisplayLabel?: string | undefined; customParams?: { defaultParamsEndpoint?: string | undefined; reasoningFormat?: import("./schemas").ReasoningParameterFormat | undefined; reasoningKey?: import("./schemas").ReasoningResponseKey | undefined; includeReasoningContent?: boolean | undefined; includeReasoningHistory?: boolean | undefined; paramDefinitions?: { key: string; type?: SettingTypes | undefined; options?: string[] | undefined; description?: string | undefined; default?: string | number | boolean | string[] | undefined; label?: string | undefined; component?: ComponentTypes | undefined; range?: { max: number; min: number; positiveMin?: number | undefined; step?: number | undefined; } | undefined; minText?: number | undefined; maxText?: number | undefined; minTags?: number | undefined; maxTags?: number | undefined; columns?: number | undefined; showLabel?: boolean | undefined; showDefault?: boolean | undefined; enumMappings?: Record | undefined; optionType?: OptionTypes | undefined; columnSpan?: number | undefined; placeholder?: string | undefined; labelCode?: boolean | undefined; placeholderCode?: boolean | undefined; descriptionCode?: boolean | undefined; includeInput?: boolean | undefined; descriptionSide?: "top" | "right" | "bottom" | "left" | undefined; searchPlaceholder?: string | undefined; selectPlaceholder?: string | undefined; searchPlaceholderCode?: boolean | undefined; selectPlaceholderCode?: boolean | undefined; }[] | undefined; } | undefined; directEndpoint?: boolean | undefined; titleMessageRole?: "user" | "system" | "assistant" | undefined; tokenConfig?: Record | undefined; }[] | undefined; bedrock?: { streamRate?: number | undefined; baseURL?: string | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; models?: string[] | undefined; availableRegions?: string[] | undefined; guardrailConfig?: { guardrailIdentifier: string; guardrailVersion: string; trace?: "enabled" | "disabled" | "enabled_full" | undefined; streamProcessingMode?: "sync" | "async" | undefined; } | undefined; inferenceProfiles?: Record | undefined; } | undefined; allowedAddresses?: string[] | undefined; all?: { streamRate?: number | undefined; headers?: Record | undefined; titlePrompt?: string | undefined; titleModel?: string | undefined; titleConvo?: boolean | undefined; titleMethod?: "completion" | "functions" | "structured" | undefined; titleEndpoint?: string | undefined; titlePromptTemplate?: string | undefined; titleTiming?: "immediate" | "final" | undefined; activityLabel?: boolean | undefined; activityModel?: string | undefined; activityEndpoint?: string | undefined; activityPrompt?: string | undefined; activityMaxPerRun?: number | undefined; activityCharLimit?: number | undefined; activityPhaseLabel?: boolean | undefined; activityPhaseModel?: string | undefined; activityPhaseEndpoint?: string | undefined; activityPhasePrompt?: string | undefined; activityPhaseMaxPerRun?: number | undefined; reasoningLabel?: boolean | undefined; reasoningLabelModel?: string | undefined; reasoningLabelEndpoint?: string | undefined; reasoningLabelPrompt?: string | undefined; reasoningLabelMinChars?: number | undefined; reasoningLabelUpdateChars?: number | undefined; reasoningLabelUpdateIntervalMs?: number | undefined; reasoningLabelMaxPerRun?: number | undefined; maxToolResultChars?: number | undefined; } | undefined; }>>; }>; export type TCustomConfig = DeepPartial>; /** * Shape of the `webSearch` block as written in `librechat.yaml`, where * `searxngSearchOptions.engines` may still be the YAML list or untrimmed string an * operator wrote. `loadCustomConfig` returns the raw YAML object rather than the * parsed result, so the runtime loader receives this shape, not the parsed one. */ export type TWebSearchConfigInput = Omit, 'searxngSearchOptions'> & { searxngSearchOptions?: z.input['searxngSearchOptions']; }; export type TCustomEndpoints = z.infer; export type TProviderSchema = z.infer | z.infer | z.infer | undefined; export declare enum KnownEndpoints { anyscale = "anyscale", apipie = "apipie", cohere = "cohere", fireworks = "fireworks", deepseek = "deepseek", moonshot = "moonshot", groq = "groq", helicone = "helicone", huggingface = "huggingface", lemonade = "lemonade", mistral = "mistral", mlx = "mlx", ollama = "ollama", openrouter = "openrouter", perplexity = "perplexity", shuttleai = "shuttleai", 'together.ai' = "together.ai", unify = "unify", vercel = "vercel", xai = "xai" } export declare enum FetchTokenConfig { openrouter = "openrouter", helicone = "helicone" } export declare const defaultEndpoints: EModelEndpoint[]; export declare const alternateName: { openAI: string; assistants: string; agents: string; azureAssistants: string; azureOpenAI: string; google: string; anthropic: string; custom: string; bedrock: string; lemonade: string; ollama: string; deepseek: string; moonshot: string; xai: string; vercel: string; helicone: string; }; /** * Claude 4+ models are not invocable on-demand by their bare foundation-model * ID on the Converse path — Bedrock rejects those with "Invocation of model ID * ... with on-demand throughput isn't supported. Retry your request with the ID * or ARN of an inference profile that contains this model." Default to the * `global.` cross-region profile (no regional pricing premium, widest * availability); Opus 4.1 has no global profile, so it uses `us.`. */ export declare const bedrockModels: string[]; export declare const defaultModels: { azureAssistants: string[]; assistants: string[]; agents: string[]; google: string[]; anthropic: string[]; openAI: string[]; bedrock: string[]; }; export declare const initialModelsConfig: TModelsConfig; export declare const EndpointURLs: { readonly assistants: `${string}/api/assistants/v2/chat`; readonly azureAssistants: `${string}/api/assistants/v1/chat`; readonly agents: `${string}/api/agents/chat`; }; export declare const modularEndpoints: Set; export declare const supportsBalanceCheck: { custom: boolean; openAI: boolean; anthropic: boolean; assistants: boolean; agents: boolean; azureAssistants: boolean; azureOpenAI: boolean; bedrock: boolean; google: boolean; }; export declare const visionModels: string[]; export declare enum VisionModes { generative = "generative", agents = "agents" } export declare function validateVisionModel({ model, additionalModels, availableModels, }: { model: string; additionalModels?: string[]; availableModels?: string[]; }): boolean; export declare const imageGenTools: Set; /** * Enum for collections using infinite queries */ export declare enum InfiniteCollections { /** * Collection for Prompt Groups */ PROMPT_GROUPS = "promptGroups", /** * Collection for Shared Links */ SHARED_LINKS = "sharedLinks" } /** * Enum for time intervals */ export declare enum Time { ONE_DAY = 86400000, TWELVE_HOURS = 43200000, ONE_HOUR = 3600000, THIRTY_MINUTES = 1800000, TEN_MINUTES = 600000, FIVE_MINUTES = 300000, THREE_MINUTES = 180000, TWO_MINUTES = 120000, ONE_MINUTE = 60000, THIRTY_SECONDS = 30000 } /** * Enum for cache keys. */ export declare enum CacheKeys { /** * Key for the config store namespace. */ CONFIG_STORE = "CONFIG_STORE", /** * Key for the tool cache namespace (plugins, MCP tools, tool definitions). */ TOOL_CACHE = "TOOL_CACHE", /** * Key for the roles cache. */ ROLES = "ROLES", /** * Key for cached group memberships used to resolve ACL user principals. */ USER_PRINCIPALS = "USER_PRINCIPALS", /** * Key for cached prompt group access ID sets (accessible, public, owned). */ PROMPT_GROUPS_ACCESS = "PROMPT_GROUPS_ACCESS", /** * Key for per-conversation stateful code sandbox prewarm/warm state. */ SANDBOX_PREWARM = "SANDBOX_PREWARM", /** * Key for the title generation cache. */ GEN_TITLE = "GEN_TITLE", /** * Key for the tools cache. */ TOOLS = "TOOLS", /** * Key for the model config cache. */ MODELS_CONFIG = "MODELS_CONFIG", /** * Key for the model queries cache. */ MODEL_QUERIES = "MODEL_QUERIES", /** * Key for the default startup config cache. */ STARTUP_CONFIG = "STARTUP_CONFIG", /** * Key for the default endpoint config cache. */ ENDPOINT_CONFIG = "ENDPOINT_CONFIG", /** * Key for accessing the model token config cache. */ TOKEN_CONFIG = "TOKEN_CONFIG", /** * Key for the app config namespace. */ APP_CONFIG = "APP_CONFIG", /** * Key for accessing Abort Keys */ ABORT_KEYS = "ABORT_KEYS", /** * Key for the bans cache. */ BANS = "BANS", /** * Key for the encoded domains cache. * Used by Azure OpenAI Assistants. */ ENCODED_DOMAINS = "ENCODED_DOMAINS", /** * Key for the cached audio run Ids. */ AUDIO_RUNS = "AUDIO_RUNS", /** * Key for in-progress messages. */ MESSAGES = "MESSAGES", /** * Key for in-progress flow states. */ FLOWS = "FLOWS", /** * Key for pending chat requests (concurrency check) */ PENDING_REQ = "PENDING_REQ", /** * Key for s3 check intervals per user */ S3_EXPIRY_INTERVAL = "S3_EXPIRY_INTERVAL", /** * key for open id exchanged tokens */ OPENID_EXCHANGED_TOKENS = "OPENID_EXCHANGED_TOKENS", /** * Key for cached authenticated user documents. */ AUTH_USER_DOC = "AUTH_USER_DOC", /** * Key for OpenID session. */ OPENID_SESSION = "OPENID_SESSION", /** * Key for SAML session. */ SAML_SESSION = "SAML_SESSION", /** * Key for admin panel OAuth exchange codes (one-time-use, short TTL). */ ADMIN_OAUTH_EXCHANGE = "ADMIN_OAUTH_EXCHANGE" } export declare const AUTH_USER_DOC_BY_ID_PREFIX = "auth-user-doc-byid"; /** * Enum for violation types, used to identify, log, and cache violations. */ export declare enum ViolationTypes { /** * File Upload Violations (exceeding limit). */ FILE_UPLOAD_LIMIT = "file_upload_limit", /** * Illegal Model Request (not available). */ ILLEGAL_MODEL_REQUEST = "illegal_model_request", /** * Token Limit Violation. */ TOKEN_BALANCE = "token_balance", /** * An issued ban. */ BAN = "ban", /** * TTS Request Limit Violation. */ TTS_LIMIT = "tts_limit", /** * STT Request Limit Violation. */ STT_LIMIT = "stt_limit", /** * Reset Password Limit Violation. */ RESET_PASSWORD_LIMIT = "reset_password_limit", /** * Verify Email Limit Violation. */ VERIFY_EMAIL_LIMIT = "verify_email_limit", /** * Verify Conversation Access violation. */ CONVO_ACCESS = "convo_access", /** * Tool Call Limit Violation. */ TOOL_CALL_LIMIT = "tool_call_limit", /** * General violation (catch-all). */ GENERAL = "general", /** * Login attempt violations. */ LOGINS = "logins", /** * Concurrent request violations. */ CONCURRENT = "concurrent", /** * Non-browser access violations. */ NON_BROWSER = "non_browser", /** * Message limit violations. */ MESSAGE_LIMIT = "message_limit", /** * Registration violations. */ REGISTRATIONS = "registrations", /** * Shared link retrieval limit violations. */ SHARE_LIMIT = "share_limit" } /** * Enum for error message types that are not "violations" as above, used to identify client-facing errors. */ export declare enum ErrorTypes { /** * No User-provided Key. */ NO_USER_KEY = "no_user_key", /** * Expired User-provided Key. */ EXPIRED_USER_KEY = "expired_user_key", /** * Invalid User-provided Key. */ INVALID_USER_KEY = "invalid_user_key", /** * No Base URL Provided. */ NO_BASE_URL = "no_base_url", /** * Base URL targets a restricted or invalid address (SSRF protection). */ INVALID_BASE_URL = "invalid_base_url", /** * Moderation error */ MODERATION = "moderation", /** * Prompt exceeds max length */ INPUT_LENGTH = "INPUT_LENGTH", /** * Invalid request error, API rejected request */ INVALID_REQUEST = "invalid_request_error", /** * Invalid action request error, likely not on list of allowed domains */ INVALID_ACTION = "invalid_action_error", /** * Invalid request error, API rejected request */ NO_SYSTEM_MESSAGES = "no_system_messages", /** * Google provider returned an error */ GOOGLE_ERROR = "google_error", /** * Google provider does not allow custom tools with built-in tools */ GOOGLE_TOOL_CONFLICT = "google_tool_conflict", /** * Google provider could not process a linked video (most often longer than the model accepts) */ GOOGLE_VIDEO_UNPROCESSABLE = "google_video_unprocessable", /** * Required CodeAPI resources could not be restored before model invocation. */ RESOURCE_RECOVERY_REQUIRED = "resource_recovery_required", /** * Agent selected a stateful Code API workspace scope disabled by the deployment. */ STATEFUL_CODE_ENVIRONMENT_NOT_ALLOWED = "stateful_code_environment_not_allowed", /** * A conversation's selected attached workspace cannot be used as requested. */ CODE_WORKSPACE_UNAVAILABLE = "code_workspace_unavailable", /** * Invalid Agent Provider (excluded by Admin) */ INVALID_AGENT_PROVIDER = "invalid_agent_provider", /** * Missing model selection */ MISSING_MODEL = "missing_model", /** * Models configuration not loaded */ MODELS_NOT_LOADED = "models_not_loaded", /** * Endpoint models not loaded */ ENDPOINT_MODELS_NOT_LOADED = "endpoint_models_not_loaded", /** * Generic Authentication failure */ AUTH_FAILED = "auth_failed", /** * Authentication rejected by a rate limiter */ AUTH_RATE_LIMITED = "auth_rate_limited", /** * Authentication rejected because the account or IP is banned */ AUTH_BANNED = "auth_banned", /** * Model refused to respond (content policy violation) */ REFUSAL = "refusal", /** * SSE stream 404 — job completed, expired, or was deleted before the subscriber connected */ STREAM_EXPIRED = "stream_expired", /** * Provider does not serve the requested model */ MODEL_NOT_FOUND = "model_not_found", /** * Provider throttled or refused the request for exceeding a rate/spend allowance */ MODEL_RATE_LIMIT = "model_rate_limit", /** * An agent model provider failed and the run could not recover. */ UPSTREAM_MODEL_ERROR = "upstream_model_error", /** * Context pruning removed every message; nothing fits the configured context window */ EMPTY_MESSAGES = "empty_messages", /** * Formatted provider payload exceeded the context budget before invocation */ FINAL_CONTEXT_OVERFLOW = "final_context_overflow", /** * A manual compaction the graph could not attempt; `reason` says why */ COMPACTION_SKIPPED = "compaction_skipped", /** * A manual compaction whose summarizer produced nothing; history is untouched */ COMPACTION_FAILED = "compaction_failed" } /** * Enum for authentication keys. */ export declare enum AuthKeys { /** * Key for the Service Account to use Vertex AI. */ GOOGLE_SERVICE_KEY = "GOOGLE_SERVICE_KEY", /** * API key to use Google Generative AI. * * Note: this is not for Environment Variables, but to access encrypted object values. */ GOOGLE_API_KEY = "GOOGLE_API_KEY", /** * API key to use Anthropic. * * Note: this is not for Environment Variables, but to access encrypted object values. */ ANTHROPIC_API_KEY = "ANTHROPIC_API_KEY" } /** * Enum for Image Detail Cost. * * **Low Res Fixed Cost:** `85` * * **High Res Calculation:** * * Number of `512px` Tiles * `170` + `85` (Additional Cost) */ export declare enum ImageDetailCost { /** * Low resolution is a fixed value. */ LOW = 85, /** * High resolution Cost Per Tile */ HIGH = 170, /** * Additional Cost added to High Resolution Total Cost */ ADDITIONAL = 85 } /** * Tab values for Settings Dialog */ export declare enum SettingsTabValues { /** * Tab for General Settings */ GENERAL = "general", /** * Tab for Chat Settings */ CHAT = "chat", /** * Tab for Speech Settings */ SPEECH = "speech", /** * Tab for Langfuse Settings */ LANGFUSE = "langfuse", /** * Tab for Beta Features */ BETA = "beta", /** * Tab for Data Controls */ DATA = "data", /** * Tab for Balance Settings */ BALANCE = "balance", /** * Tab for Account Settings */ ACCOUNT = "account", /** * Chat input commands */ COMMANDS = "commands", /** * Tab for Personalization Settings */ PERSONALIZATION = "personalization", /** * Tab for About / Build Info */ ABOUT = "about" } export declare enum STTProviders { /** * Provider for OpenAI STT */ OPENAI = "openai", /** * Provider for Microsoft Azure STT */ AZURE_OPENAI = "azureOpenAI" } export declare enum TTSProviders { /** * Provider for OpenAI TTS */ OPENAI = "openai", /** * Provider for Microsoft Azure OpenAI TTS */ AZURE_OPENAI = "azureOpenAI", /** * Provider for ElevenLabs TTS */ ELEVENLABS = "elevenlabs", /** * Provider for LocalAI TTS */ LOCALAI = "localai" } /** Enum for app-wide constants */ export declare enum Constants { /** * Key for the app's version. The placeholder `__LIBRECHAT_VERSION__` is * swapped in by `@rollup/plugin-replace` during `npm run build:data-provider` * using the value of the root `package.json`'s `version` field. Consumers * always import this via the built dist bundle (see `main` field in * `packages/data-provider/package.json`), so production and UI code get the * substituted value. Only tests that import the TypeScript source directly * would observe the raw placeholder. */ VERSION = "__LIBRECHAT_VERSION__", /** Key for the Custom Config's version (librechat.yaml). */ CONFIG_VERSION = "1.3.16", /** Standard value for the first message's `parentMessageId` value, to indicate no parent exists. */ NO_PARENT = "00000000-0000-0000-0000-000000000000", /** Standard value to use whatever the submission prelim. `responseMessageId` is */ USE_PRELIM_RESPONSE_MESSAGE_ID = "USE_PRELIM_RESPONSE_MESSAGE_ID", /** Standard value for the initial conversationId before a request is sent */ NEW_CONVO = "new", /** Standard value for the temporary conversationId after a request is sent and before the server responds */ PENDING_CONVO = "PENDING", /** Standard value for the conversationId used for search queries */ SEARCH = "search", /** Fixed, encoded domain length for Azure OpenAI Assistants Function name parsing. */ ENCODED_DOMAIN_LENGTH = 10, /** Identifier for using current_model in multi-model requests. */ CURRENT_MODEL = "current_model", /** Common divider for text values */ COMMON_DIVIDER = "__", /** Max length for commands */ COMMANDS_MAX_LENGTH = 56, /** Default Stream Rate (ms) */ DEFAULT_STREAM_RATE = 1, /** Saved Tag */ SAVED_TAG = "Saved", /** Max number of Conversation starters for Agents/Assistants */ MAX_CONVO_STARTERS = 4, /** Delimiter for MCP tools */ mcp_delimiter = "_mcp_", /** Prefix for MCP plugins */ mcp_prefix = "mcp_", /** Unique value to indicate all MCP servers. For backend use only. */ mcp_all = "sys__all__sys", /** Unique value to indicate clearing MCP servers from UI state. For frontend use only. */ mcp_clear = "sys__clear__sys", /** Key suffix for non-spec user default tool storage */ spec_defaults_key = "__defaults__", /** * Unique value to indicate the MCP tool was added to an agent. * This helps inform the UI if the mcp server was previously added. * */ mcp_server = "sys__server__sys", /** * Handoff Tool Name Prefix */ LC_TRANSFER_TO_ = "lc_transfer_to_", /** Placeholder Agent ID for Ephemeral Agents */ EPHEMERAL_AGENT_ID = "ephemeral", /** Programmatic Tool Calling tool name */ PROGRAMMATIC_TOOL_CALLING = "run_tools_with_code", /** Bash Programmatic Tool Calling tool name */ BASH_PROGRAMMATIC_TOOL_CALLING = "run_tools_with_bash", /** Subagent spawn tool name (must match `@librechat/agents` `Constants.SUBAGENT`). */ SUBAGENT = "subagent", /** Poll tool for retrieving the status/result of a backgrounded tool call. */ CHECK_BACKGROUND_TASK = "check_background_task", /** * `finish_reason` stamped on an assistant message whose turn ended because the * agent exhausted its per-turn graph step budget (`recursionLimit`) rather than * because the model chose to stop. Distinct from a user abort: nothing failed and * nothing was cancelled, the turn simply ran out of room. The UI keys its * "tool call limit reached" notice off this value. The hover Continue control * is withheld for this reason because the notice already offers the way forward. */ TOOL_CALL_LIMIT_FINISH_REASON = "tool_call_limit" } /** * Normalizes a server name into the character set tool keys are built from. * Tool keys embed this output, so any candidate list matched against a key must * be normalized the same way. */ export declare function normalizeServerName(serverName: string): string; /** * Splits a combined MCP tool key (`${rawToolName}${mcp_delimiter}${serverName}`) * back into its two parts. * * Both halves can legitimately contain the delimiter, so position alone cannot * identify the boundary. Raw tool names come from the upstream server and are * untrusted (`get_mcp_server_version`, or a gateway-prefixed * `gitlab-get_mcp_server_version`), and `normalizeServerName` preserves * underscores, so a configured server may be named `Google_mcp_Workspace`. * * When `knownServerNames` is supplied the boundary is resolved against it: the * longest configured name the key actually ends with wins. Otherwise this falls * back to the last delimiter, which is correct whenever only the tool half * contains one and matches `.split()` when neither does. * * One case stays undecidable from the key alone: if both `bar` and `foo_mcp_bar` * are configured, `tool_mcp_foo_mcp_bar` is a valid key for either. Longest match * is the deterministic tiebreak; resolving it properly needs the tool/server * mapping carried alongside the key rather than re-derived from the string. */ /** * Maps each configured server name's normalized form back to the raw config * name. Model-facing tool keys embed `normalizeServerName(server)`, while the * registry, config maps, tool cache, and plugin-auth rows are keyed by the raw * name — any consumer that parses a server out of a tool key must resolve it * through this map before those lookups. Identity entries are included so * `aliases.get(name) ?? name` works uniformly. * * When two configured names normalize to the same value their tool keys are * inherently ambiguous; the FIRST configured name wins deterministically here, * and `resolveMCPServerContext` warns about the collision so the operator can * rename one server. */ export declare function buildServerNameAliases(rawServerNames: readonly string[]): Map; /** * Rewrites a tool key's server segment into the normalized form model-facing * keys carry, resolving the boundary against the configured raw names (longest * suffix wins, mirroring {@link splitMCPToolKey}). Returns the key unchanged * when no configured raw name matches — already-normalized keys, placeholder * tokens, and keys for servers that are no longer configured all pass through. * Idempotent: a normalized segment never matches a raw candidate that needs * rewriting. */ export declare function normalizeMCPToolKey(toolKey: string, rawServerNames: readonly string[]): string; /** * Strips a redundant leading server-name prefix from a raw upstream tool name * before it is embedded into a model-facing key, so the key doesn't carry the * server twice (`acme_trace_..._mcp_acme`) and push long tool names * past provider function-name limits (64 chars). The match is case-insensitive * because display-cased server names ("Acme") conventionally prefix their * tools in lowercase. Ingestion that strips must record the original name * (`serverToolName` on the cached definition) — tool calls send THAT name back * to the server, never the stripped one. Catalog producers must not call this * directly: only {@link stripServerNamePrefixes} sees the whole sibling set and * can keep colliding results apart. */ export declare function stripServerNamePrefix(toolName: string, normalizedServerName: string): string; /** * Maps every raw tool name in a server's catalog to its model-facing name, * stripping redundant server-name prefixes collision-free: when two names * yield the same result — a bare `foo` next to `_foo`, or the * case-variant pair `_Foo` / `_Foo` under the case-insensitive * prefix match — every collider keeps its raw name, so two distinct upstream * tools can never collapse onto one key. Unprefixed names count against the * result set through their identity mapping, which is what makes the bare-name * case fall out of the same counter. */ export declare function stripServerNamePrefixes(toolNames: readonly string[], normalizedServerName: string): Map; export declare function splitMCPToolKey(toolKey: string, knownServerNames?: readonly string[]): [string, string | undefined]; /** * Splits a tool-call name for display, where the key may be a synthetic MCP OAuth * call (`oauth${mcp_delimiter}${serverName}`) rather than a real tool key. * * A configured server name is authoritative when one matches, because a real tool key * always ends in its server. Only when none matches does the `oauth` prefix decide, * which keeps a genuine upstream tool named `oauth${mcp_delimiter}...` from being read * as a synthetic call while still resolving OAuth prompts for unconfigured servers. */ export declare function splitToolCallName(toolCallName: string, knownServerNames?: readonly string[]): [string, string | undefined]; /** Maximum explicit subagent hops allowed from any root agent at runtime. */ export declare const MAX_SUBAGENT_DEPTH = 5; /** Maximum unique explicit subagent targets that may be loaded at runtime. */ export declare const MAX_SUBAGENT_GRAPH_NODES = 50; /** Maximum expanded SubagentConfig entries embedded into one run request. */ export declare const MAX_SUBAGENT_RUN_CONFIGS = 100; export declare enum LocalStorageKeys { /** Key for the admin defined App Title */ APP_TITLE = "appTitle", /** Key for the last conversation setup. */ LAST_CONVO_SETUP = "lastConversationSetup", /** Key for the last selected model. */ LAST_MODEL = "lastSelectedModel", /** Key for the last selected tools. */ LAST_TOOLS = "lastSelectedTools", /** Key for the last selected spec by name*/ LAST_SPEC = "lastSelectedSpec", /** Key for temporary files to delete */ FILES_TO_DELETE = "filesToDelete", /** Prefix key for the last selected assistant ID by index */ ASST_ID_PREFIX = "assistant_id__", /** Prefix key for the last selected agent ID by index */ AGENT_ID_PREFIX = "agent_id__", /** Key for the last selected fork setting */ FORK_SETTING = "forkSetting", /** Key for remembering the last selected option, instead of manually selecting */ REMEMBER_FORK_OPTION = "rememberDefaultFork", /** Key for remembering the split at target fork option modifier */ FORK_SPLIT_AT_TARGET = "splitAtTarget", /** Key for saving text drafts */ TEXT_DRAFT = "textDraft_", /** Key for saving file drafts */ FILES_DRAFT = "filesDraft_", /** Key for last Selected Prompt Category */ LAST_PROMPT_CATEGORY = "lastPromptCategory", /** Key for rendering User Messages as Markdown */ ENABLE_USER_MSG_MARKDOWN = "enableUserMsgMarkdown", /** Key for auto-expanding tool call details */ AUTO_EXPAND_TOOLS = "autoExpandTools", /** Last selected MCP values per conversation ID */ LAST_MCP_ = "LAST_MCP_", /** Last checked toggle for Code Interpreter API per conversation ID */ LAST_CODE_TOGGLE_ = "LAST_CODE_TOGGLE_", /** Last checked toggle for Web Search per conversation ID */ LAST_WEB_SEARCH_TOGGLE_ = "LAST_WEB_SEARCH_TOGGLE_", /** Last checked toggle for File Search per conversation ID */ LAST_FILE_SEARCH_TOGGLE_ = "LAST_FILE_SEARCH_TOGGLE_", /** Last checked toggle for Artifacts per conversation ID */ LAST_ARTIFACTS_TOGGLE_ = "LAST_ARTIFACTS_TOGGLE_", /** Last checked toggle for Skills per conversation ID */ LAST_SKILLS_TOGGLE_ = "LAST_SKILLS_TOGGLE_", /** Last checked toggle for Memory per conversation ID */ LAST_MEMORY_TOGGLE_ = "LAST_MEMORY_TOGGLE_", /** Key for the last selected agent provider */ LAST_AGENT_PROVIDER = "lastAgentProvider", /** Key for the last selected agent model */ LAST_AGENT_MODEL = "lastAgentModel", /** Pin state for MCP tools per conversation ID */ PIN_MCP_ = "PIN_MCP_", /** Pin state for Web Search per conversation ID */ PIN_WEB_SEARCH_ = "PIN_WEB_SEARCH_", /** Pin state for Code Interpreter per conversation ID */ PIN_CODE_INTERPRETER_ = "PIN_CODE_INTERPRETER_" } export declare enum ForkOptions { /** Key for direct path option */ DIRECT_PATH = "directPath", /** Key for including branches */ INCLUDE_BRANCHES = "includeBranches", /** Key for target level fork (default) */ TARGET_LEVEL = "targetLevel", /** Default option */ DEFAULT = "default" } /** * Enum for Cohere related constants */ export declare enum CohereConstants { /** * Cohere API Endpoint, for special handling */ API_URL = "https://api.cohere.ai/v1", /** * Role for "USER" messages */ ROLE_USER = "USER", /** * Role for "SYSTEM" messages */ ROLE_SYSTEM = "SYSTEM", /** * Role for "CHATBOT" messages */ ROLE_CHATBOT = "CHATBOT", /** * Title message as required by Cohere */ TITLE_MESSAGE = "TITLE:" } export declare enum SystemCategories { ALL = "sys__all__sys", MY_PROMPTS = "sys__my__prompts__sys", NO_CATEGORY = "sys__no__category__sys", SHARED_PROMPTS = "sys__shared__prompts__sys" } export declare const providerEndpointMap: { openAI: EModelEndpoint; bedrock: EModelEndpoint; anthropic: EModelEndpoint; azureOpenAI: EModelEndpoint; }; export declare const specialVariables: { current_date: boolean; current_user: boolean; iso_datetime: boolean; current_datetime: boolean; }; export type TSpecialVarLabel = `com_ui_special_var_${keyof typeof specialVariables}`; /** * Retrieves a specific field from the endpoints configuration for a given endpoint key. * Does not infer or default any endpoint type when absent. */ export declare function getEndpointField(endpointsConfig: TEndpointsConfig | undefined | null, endpoint: EModelEndpoint | string | null | undefined, property: K): TConfig[K] | undefined; /** * Resolves the effective endpoint type: * - Non-agents endpoint: config.type || endpoint * - Agents + provider: config[provider].type || provider * - Agents, no provider: EModelEndpoint.agents * * Returns `undefined` when endpoint is null/undefined. */ export declare function resolveEndpointType(endpointsConfig: TEndpointsConfig | undefined | null, endpoint: string | null | undefined, agentProvider?: string | null): EModelEndpoint | string | undefined; /** Resolves the `defaultParamsEndpoint` for a given endpoint from its custom params config */ export declare function getDefaultParamsEndpoint(endpointsConfig: TEndpointsConfig | undefined | null, endpoint: string | null | undefined): string | undefined;