Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { HTTPListenPort int `usage:"HTTP port to listen on" default:"8080" name:"http-listen-port"` DevMode bool `usage:"Enable development mode" default:"false" name:"dev-mode" env:"OBOT_DEV_MODE"` DevUIPort int `usage:"The port on localhost running the dev instance of the UI" default:"5173"` AllowedOrigin string `usage:"Allowed origin for CORS"` ToolRegistries []string `usage:"The remote tool references to the set of tool registries to use" default:"github.com/obot-platform/tools" split:"true"` WorkspaceProviderType string `` /* 129-byte string literal not displayed */ HelperModel string `usage:"The model used to generate names and descriptions" default:"gpt-4o-mini"` AWSKMSKeyARN string `` /* 170-byte string literal not displayed */ GCPKMSKeyURI string `` /* 179-byte string literal not displayed */ AzureKeyVaultName string `` /* 187-byte string literal not displayed */ AzureKeyName string `` /* 189-byte string literal not displayed */ AzureKeyVersion string `` /* 198-byte string literal not displayed */ EncryptionProvider string `usage:"The encryption provider to use. Options are AWS, GCP, None, or Custom. Default is None." default:"None"` EncryptionConfigFile string `usage:"The path to the encryption configuration file. Only used with the Custom encryption provider."` EmailServerName string `usage:"The name of the email server to display for email receivers"` EnableSMTPServer bool `usage:"Enable SMTP server to receive emails" default:"false" env:"OBOT_ENABLE_SMTP_SERVER"` Docker bool `usage:"Enable Docker support" default:"false" env:"OBOT_DOCKER"` EnvKeys []string `usage:"The environment keys to pass through to the GPTScript server" env:"OBOT_ENV_KEYS"` KnowledgeSetIngestionLimit int `usage:"The maximum number of files to ingest into a knowledge set" default:"3000" name:"knowledge-set-ingestion-limit"` KnowledgeFileWorkers int `usage:"The number of workers to process knowledge files" default:"5"` EnableAuthentication bool `usage:"Enable authentication" default:"false"` ForceEnableBootstrap bool `usage:"Enables the bootstrap user even if other admin users have been created" default:"false"` AuthAdminEmails []string `usage:"Emails of admin users"` AgentsDir string `usage:"The directory to auto load agents on start (default $XDG_CONFIG_HOME/.obot/agents)"` StaticDir string `usage:"The directory to serve static files from"` IgnoreInactive bool `usage:"Ignore inactive objects" default:"false"` // Sendgrid webhook SendgridWebhookUsername string `usage:"The username for the sendgrid webhook to authenticate with"` SendgridWebhookPassword string `usage:"The password for the sendgrid webhook to authenticate with"` GeminiConfig GatewayConfig services.Config }
type GatewayConfig ¶
type GeminiConfig ¶ added in v0.7.0
type Services ¶
type Services struct { ToolRegistryURLs []string WorkspaceProviderType string ServerURL string EmailServerName string DevUIPort int Events *events.Emitter StorageClient storage.Client Router *router.Router GPTClient *gptscript.GPTScript Invoker *invoke.Invoker TokenServer *jwt.TokenService APIServer *server.Server Started chan struct{} GatewayServer *gserver.Server GatewayClient *client.Client ProxyManager *proxy.Manager ProviderDispatcher *dispatcher.Dispatcher Bootstrapper *bootstrap.Bootstrap KnowledgeSetIngestionLimit int SupportDocker bool AuthEnabled bool AgentsDir string GeminiClient *gemini.Client // Use basic auth for sendgrid webhook, if being set SendgridWebhookUsername string SendgridWebhookPassword string }
Click to show internal directories.
Click to hide internal directories.