Skip to main content

Module config

Module config 

Source
Expand description

XDG-based API key management for OpenRouter and other providers. XDG-based API key management for OpenRouter and other providers.

Stores keys in $XDG_CONFIG_HOME/sqlite-graphrag/config.toml with atomic write, symlink-attack defense and Unix permission hardening.

Structs§

ApiKeyEntry
AppConfig
ResolvedKey

Functions§

compute_fingerprint
config_file_path
load_config
mask_key
resolve_api_key
save_config