From 8351a9e084c9cc4a12a9319e14cf004cc2b2193b Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Thu, 20 Nov 2025 11:19:59 +0300 Subject: Feat: add filepicker --- config/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/config.go') diff --git a/config/config.go b/config/config.go index 77873e8..ff74089 100644 --- a/config/config.go +++ b/config/config.go @@ -64,6 +64,7 @@ type Config struct { WhisperModelPath string `toml:"WhisperModelPath"` STT_LANG string `toml:"STT_LANG"` DBPATH string `toml:"DBPATH"` + FilePickerDir string `toml:"FilePickerDir"` } func LoadConfigOrDefault(fn string) *Config { @@ -99,6 +100,7 @@ func LoadConfigOrDefault(fn string) *Config { config.TTS_URL = "http://localhost:8880/v1/audio/speech" config.FetchModelNameAPI = "http://localhost:8080/v1/models" config.STT_SR = 16000 + config.FilePickerDir = "." // Default to current directory } config.CurrentAPI = config.ChatAPI config.APIMap = map[string]string{ -- cgit v1.2.3