summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-03-05 19:20:21 +0300
committerGrail Finder <wohilas@gmail.com>2026-03-05 19:20:21 +0300
commitac8c8bb0558a00cf0d025ab8522aaa57b8cba7de (patch)
treef3a78123e7ef5039109b26565041f4a129d1fec2 /config
parentc2c107c78688dedb8429ef13bd0aa102eeb32fdb (diff)
Enha: onnx config vars
Diffstat (limited to 'config')
-rw-r--r--config/config.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/config.go b/config/config.go
index 412eaaa..84ec480 100644
--- a/config/config.go
+++ b/config/config.go
@@ -34,8 +34,11 @@ type Config struct {
ImagePreview bool `toml:"ImagePreview"`
EnableMouse bool `toml:"EnableMouse"`
// embeddings
- EmbedURL string `toml:"EmbedURL"`
- HFToken string `toml:"HFToken"`
+ EmbedURL string `toml:"EmbedURL"`
+ HFToken string `toml:"HFToken"`
+ EmbedModelPath string `toml:"EmbedModelPath"`
+ EmbedTokenizerPath string `toml:"EmbedTokenizerPath"`
+ EmbedDims int `toml:"EmbedDims"`
// rag settings
RAGEnabled bool `toml:"RAGEnabled"`
RAGDir string `toml:"RAGDir"`