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:"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"`
ToolRegistry string `usage:"The tool reference for the tool registry" default:"github.com/obot-platform/tools"`
WorkspaceProviderType string `` /* 129-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 `usage:"The ARN of the AWS KMS key to use for encrypting credential storage" env:"OBOT_AWS_KMS_KEY_ARN" name:"aws-kms-key-arn"`
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.