Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
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:"OTTO8_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"` ToolRegistry string `usage:"The tool reference for the tool registry" default:"github.com/otto8-ai/tools"` WorkspaceProviderType string `` /* 130-byte string literal not displayed */ WorkspaceTool string `usage:"The tool reference for the workspace provider" default:"github.com/gptscript-ai/workspace-provider"` DatasetsTool string `usage:"The tool reference for the dataset provider" default:"github.com/gptscript-ai/datasets"` HelperModel string `usage:"The model used to generate names and descriptions" default:"gpt-4o-mini"` AWSKMSKeyARN string `` /* 126-byte string literal not displayed */ EncryptionConfigFile string `usage:"The path to the encryption configuration file" default:"./encryption.yaml"` KnowledgeSetIngestionLimit int `` /* 158-byte string literal not displayed */ EmailServerName string `usage:"The name of the email server to display for email receivers (default: ui-hostname value)"` AuthConfig GatewayConfig services.Config }
type GatewayConfig ¶
type Services ¶
type Services struct { ToolRegistryURL 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 AIHelper *aihelper.AIHelper Started chan struct{} ProxyServer *proxy.Proxy GatewayServer *gserver.Server ModelProviderDispatcher *dispatcher.Dispatcher KnowledgeSetIngestionLimit int }
Click to show internal directories.
Click to hide internal directories.