Circle V2 API Docs
    Preparing search index...
    • Resolves the v3 verification-gate config overrides from LaunchDarkly.

      The three gates (verification/abstain, grounding, citation) each default ON. We read them with getVariation(..., true) rather than isEnabled (which defaults false) so that an environment without these flags — or a provider that failed to initialize — keeps every gate enabled instead of silently disabling the safety checks. Callers pass the request-scoped provider and a flag context; the runner fills the remaining config levers from its own defaults.

      Parameters

      Returns Promise<
          {
              settings?: {
                  citationSimilarityThreshold?: number;
                  confidenceThreshold?: number;
                  enableCalendarAwareness?: boolean;
                  enableCitationGate?: boolean;
                  enableCitationVerification?: boolean;
                  enableEvidenceHint?: boolean;
                  enableFetchDocumentOnMetadata?: boolean;
                  enableGroundingGate?: boolean;
                  enableIntentAwarePlanning?: boolean;
                  enableLooseCitationMatch?: boolean;
                  enableMetadataManifestOnly?: boolean;
                  enableMultiWindowDates?: boolean;
                  enableNoChartsBailout?: boolean;
                  enablePerQuestionInstructions?: boolean;
                  enableQueryHydration?: boolean;
                  enableRunConstantPrefix?: boolean;
                  enableSignatureFacts?: boolean;
                  enableSubClaimFanOut?: boolean;
                  enableSubClaimFetchDocuments?: boolean;
                  enableVerificationGate?: boolean;
                  judgeRecursionLimit?: number;
                  maxFanOutSubClaims?: number;
                  recursionLimit?: number;
                  rerankModel?: string;
                  searchCandidatePoolSize?: number;
                  subClaimRecursionLimit?: number;
              };
              tools?: {
                  enableFetchDocument?: boolean;
                  enableMetadataFilter?: boolean;
                  enableRerank?: boolean;
                  enableSignatures?: boolean;
                  enableTimeline?: boolean;
                  enableTimeTools?: boolean;
              };
          },
      >