cmd

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the root command.

Types

type Env

type Env struct {
	// Model and API configuration
	Model                 string
	LLMAPIURL             string
	LLMAPIKey             string
	MultimodalModel       string
	TranscriptionModel    string
	TranscriptionLanguage string
	TTSModel              string
	Timeout               string

	// Directories and paths
	StateDir         string
	LocalAGIURL      string
	LocalRAGURL      string
	CustomActionsDir string
	SSHBoxURL        string
	CollectionDBPath string
	FileAssets       string

	// Conversation settings
	EnableConversationsLogging bool
	APIKeys                    []string
	ConversationDuration       string

	// RAG/Vector settings
	VectorEngine    string
	EmbeddingModel  string
	MaxChunkingSize int
	ChunkOverlap    int
	DatabaseURL     string
}

Env contains all environment variables used by LocalAGI

func LoadEnv

func LoadEnv() Env

LoadEnv reads all environment variables and returns an Env struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL