Skip to content

ConfigFile

Category: Config

Source: config_file.dart

Classes

ConfigFile

Constructor

dart
const ConfigFile({
    this.activeModel,
    this.smallModel,
    this.profiles,
    this.catalog,
    this.bash,
    this.shell,
    this.docker,
    this.web,
    this.observability,
    this.mcp,
    this.runtime,
    this.skills,
    this.titleGenerationEnabled,
    this.anthropicPromptCache,
    this.approvalMode,
  })

Properties

PropertyTypeDescription
activeModelString?
smallModelString?
profilesMap<String, String>?
catalogCatalogSectionConfig?
bashBashSectionConfig?
shellShellSectionConfig?
dockerDockerSectionConfig?
webWebSectionConfig?
observabilityObservabilitySectionConfig?
mcpMap<String, dynamic>?
runtimeString?
skillsSkillsSectionConfig?
titleGenerationEnabledbool?
anthropicPromptCachebool?
approvalModeString?

CatalogSectionConfig

Constructor

dart
const CatalogSectionConfig({this.refresh, this.remoteUrl})

Properties

PropertyTypeDescription
refreshString?
remoteUrlString?

BashSectionConfig

Constructor

dart
const BashSectionConfig({this.maxLines})

Properties

PropertyTypeDescription
maxLinesint?

ShellSectionConfig

Constructor

dart
const ShellSectionConfig({this.executable, this.mode})

Properties

PropertyTypeDescription
executableString?
modeString?

DockerSectionConfig

Constructor

dart
const DockerSectionConfig({
    this.enabled,
    this.image,
    this.shell,
    this.fallbackToHost,
    this.mounts,
  })

Properties

PropertyTypeDescription
enabledbool?
imageString?
shellString?
fallbackToHostbool?
mountsList<String>?

WebSectionConfig

Constructor

dart
const WebSectionConfig({this.fetch, this.search, this.pdf, this.browser})

Properties

PropertyTypeDescription
fetchFetchSectionConfig?
searchSearchSectionConfig?
pdfPdfSectionConfig?
browserBrowserSectionConfig?

FetchSectionConfig

Constructor

dart
const FetchSectionConfig({
    this.jinaApiKey,
    this.allowJinaFallback,
    this.timeoutSeconds,
    this.maxBytes,
    this.maxTokens,
  })

Properties

PropertyTypeDescription
jinaApiKeyString?
allowJinaFallbackbool?
timeoutSecondsint?
maxBytesint?
maxTokensint?

SearchSectionConfig

Constructor

dart
const SearchSectionConfig({
    this.provider,
    this.braveApiKey,
    this.tavilyApiKey,
    this.firecrawlApiKey,
    this.firecrawlBaseUrl,
    this.timeoutSeconds,
    this.maxResults,
  })

Properties

PropertyTypeDescription
providerString?
braveApiKeyString?
tavilyApiKeyString?
firecrawlApiKeyString?
firecrawlBaseUrlString?
timeoutSecondsint?
maxResultsint?

PdfSectionConfig

Constructor

dart
const PdfSectionConfig({
    this.mistralApiKey,
    this.openaiApiKey,
    this.ocrProvider,
    this.maxBytes,
    this.timeoutSeconds,
    this.enableOcrFallback,
  })

Properties

PropertyTypeDescription
mistralApiKeyString?
openaiApiKeyString?
ocrProviderString?
maxBytesint?
timeoutSecondsint?
enableOcrFallbackbool?

BrowserSectionConfig

Constructor

dart
const BrowserSectionConfig({
    this.backend,
    this.headed,
    this.docker,
    this.steel,
    this.browserbase,
    this.browserless,
    this.anchor,
    this.hyperbrowser,
  })

Properties

PropertyTypeDescription
backendString?
headedbool?
dockerDockerBrowserSectionConfig?
steelCredentialSectionConfig?
browserbaseBrowserbaseSectionConfig?
browserlessBrowserlessSectionConfig?
anchorCredentialSectionConfig?
hyperbrowserCredentialSectionConfig?

DockerBrowserSectionConfig

Constructor

dart
const DockerBrowserSectionConfig({this.image, this.port})

Properties

PropertyTypeDescription
imageString?
portint?

CredentialSectionConfig

Constructor

dart
const CredentialSectionConfig({this.apiKey})

Properties

PropertyTypeDescription
apiKeyString?

BrowserbaseSectionConfig

Constructor

dart
const BrowserbaseSectionConfig({this.apiKey, this.projectId})

Properties

PropertyTypeDescription
apiKeyString?
projectIdString?

BrowserlessSectionConfig

Constructor

dart
const BrowserlessSectionConfig({this.baseUrl, this.apiKey})

Properties

PropertyTypeDescription
baseUrlString?
apiKeyString?

ObservabilitySectionConfig

Constructor

dart
const ObservabilitySectionConfig({
    this.debug,
    this.maxBodyBytes,
    this.redact,
    this.otel,
  })

Properties

PropertyTypeDescription
debugbool?
maxBodyBytesint?
redactbool?
otelOtelSectionConfig?

OtelSectionConfig

Constructor

dart
const OtelSectionConfig({
    this.enabled,
    this.endpoint,
    this.headers,
    this.serviceName,
    this.resourceAttributes,
    this.timeoutMilliseconds,
  })

Properties

PropertyTypeDescription
enabledbool?
endpointString?
headersMap<String, String>?
serviceNameString?
resourceAttributesMap<String, String>?
timeoutMillisecondsint?

SkillsSectionConfig

Constructor

dart
const SkillsSectionConfig({this.paths})

Properties

PropertyTypeDescription
pathsList<String>?

Released under the MIT License.