config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Server
	Port string
	Env  string

	// Desktop paths
	DataDir      string
	DatabasePath string

	// AI (requesty.ai)
	RequestyAPIKey  string
	RequestyBaseURL string
	RequestyModel   string

	// Google Calendar
	GoogleClientID     string
	GoogleClientSecret string
	GoogleRedirectURL  string

	// Memory
	MemoryContextLimit int
	MemoryTopK         int

	// Ollama (local embeddings)
	OllamaURL        string
	OllamaEmbedModel string
}

func Load

func Load() *Config

func (*Config) IsDevelopment

func (c *Config) IsDevelopment() bool

Jump to

Keyboard shortcuts

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