summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-03-09 07:07:36 +0300
committerGrail Finder <wohilas@gmail.com>2026-03-09 07:07:36 +0300
commit0e42a6f069ceea40485162c014c04cf718568cfe (patch)
tree583a6a6cb91b315e506990a03fdda1b32d0fe985 /config
parent2687f38d00ceaa4f61034e3e02b9b59d08efc017 (diff)
parenta1b5f9cdc59938901123650fc0900067ac3447ca (diff)
Merge branch 'master' into feat/agent-flow
Diffstat (limited to 'config')
-rw-r--r--config/config.go16
1 files changed, 9 insertions, 7 deletions
diff --git a/config/config.go b/config/config.go
index 412eaaa..e8c2687 100644
--- a/config/config.go
+++ b/config/config.go
@@ -27,20 +27,22 @@ type Config struct {
WriteNextMsgAs string
WriteNextMsgAsCompletionAgent string
SkipLLMResp bool
- AutoCleanToolCallsFromCtx bool `toml:"AutoCleanToolCallsFromCtx"`
DBPATH string `toml:"DBPATH"`
FilePickerDir string `toml:"FilePickerDir"`
FilePickerExts string `toml:"FilePickerExts"`
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"`
- RAGBatchSize int `toml:"RAGBatchSize"`
- RAGWordLimit uint32 `toml:"RAGWordLimit"`
+ RAGDir string `toml:"RAGDir"`
+ RAGBatchSize int `toml:"RAGBatchSize"`
+ RAGWordLimit uint32 `toml:"RAGWordLimit"`
+ RAGOverlapWords uint32 `toml:"RAGOverlapWords"`
// deepseek
DeepSeekChatAPI string `toml:"DeepSeekChatAPI"`
DeepSeekCompletionAPI string `toml:"DeepSeekCompletionAPI"`