summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-03-06 07:46:15 +0300
committerGrail Finder <wohilas@gmail.com>2026-03-06 07:46:15 +0300
commite1f2a8cd7be487a3b4284ca70cc5a2a64b50f5d1 (patch)
tree56eb3c25e7a2463542f8b3a52adbf410c8b7abaf
parentefc92d884c36498220e2b8d5ad9e02f84e42d953 (diff)
Chore: remove unused RagEnabled var
-rw-r--r--config.example.toml1
-rw-r--r--config/config.go1
-rw-r--r--docs/config.md3
-rw-r--r--props_table.go3
4 files changed, 0 insertions, 8 deletions
diff --git a/config.example.toml b/config.example.toml
index f5820da..15c8ca6 100644
--- a/config.example.toml
+++ b/config.example.toml
@@ -27,7 +27,6 @@ ChunkLimit = 100000
AutoScrollEnabled = true
AutoCleanToolCallsFromCtx = false
# rag settings
-RAGEnabled = false
RAGBatchSize = 1
RAGWordLimit = 80
RAGDir = "ragimport"
diff --git a/config/config.go b/config/config.go
index 84ec480..29d5744 100644
--- a/config/config.go
+++ b/config/config.go
@@ -40,7 +40,6 @@ type Config struct {
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"`
diff --git a/docs/config.md b/docs/config.md
index d8b42d6..6f11d73 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -71,9 +71,6 @@ This document explains how to set up and configure the application using the `co
#### EmbedURL (`"http://localhost:8082/v1/embeddings"`)
- The endpoint for embedding API, used for RAG (Retrieval Augmented Generation) functionality.
-#### RAGEnabled (`false`)
-- Enable or disable RAG functionality for enhanced context retrieval.
-
#### RAGBatchSize (`1`)
- Number of documents to process in each RAG batch.
diff --git a/props_table.go b/props_table.go
index ec66812..5c3d8d7 100644
--- a/props_table.go
+++ b/props_table.go
@@ -115,9 +115,6 @@ func makePropsTable(props map[string]float32) *tview.Table {
row++
}
// Add checkboxes
- addCheckboxRow("RAG use", cfg.RAGEnabled, func(checked bool) {
- cfg.RAGEnabled = checked
- })
addCheckboxRow("Inject role", injectRole, func(checked bool) {
injectRole = checked
})