package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Feb 6, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetEnv retrieves an environment variable with Octrafic prefix
GetEnvVarName returns the environment variable name for a config key
IsFirstLaunch checks if this is the first launch (no config or not onboarded)
type Config struct {
Provider string `json:"provider"`
APIKey string `json:"api_key"`
Model string `json:"model"`
Onboarded bool `json:"onboarded"`
}
Config holds the application configuration
Load loads the configuration from disk
Save saves the configuration to disk
Source Files
¶
Click to show internal directories.
Click to hide internal directories.