Documentation
¶
Index ¶
- func DataDir() (string, error)
- func EnsureDirs() error
- func GetModelConfig(cfg types.AppConfig) (types.ModelConfig, error)
- func LoadAppConfig() (types.AppConfig, error)
- func PrintConfigError(err error)
- func ResetToDefault() error
- func RevertToBackup() error
- func SaveAppConfig(cfg types.AppConfig) error
- func SessionsDir() (string, error)
- func SkillsDir() (string, error)
- func ToolResultsDir() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetModelConfig ¶
func GetModelConfig(cfg types.AppConfig) (types.ModelConfig, error)
GetModelConfig 获取当前模型配置
func LoadAppConfig ¶
LoadAppConfig 加载应用配置,不存在时用内嵌默认配置创建
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.