summaryrefslogtreecommitdiff
path: root/tables.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-11-22 14:56:24 +0300
committerGrail Finder <wohilas@gmail.com>2025-11-22 14:56:24 +0300
commit50d7bfced396485f1d313cce11a73c8f386f7956 (patch)
tree2e9e2af2ad74d39a48c66be4eb38ebf100ced2af /tables.go
parent5fe03fa66c30f5d7ca6cdf9de1b1cfa2c38d6a45 (diff)
Enha: embedgemma model
Diffstat (limited to 'tables.go')
-rw-r--r--tables.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/tables.go b/tables.go
index 6bb1e69..755f255 100644
--- a/tables.go
+++ b/tables.go
@@ -216,7 +216,7 @@ func makeRAGTable(fileList []string) *tview.Flex {
}
}
}
- errCh := make(chan error, 1)
+ errCh := make(chan error, 1) // why?
go func() {
defer pages.RemovePage(RAGPage)
for {
@@ -273,6 +273,7 @@ func makeRAGTable(fileList []string) *tview.Flex {
go func() {
if err := ragger.LoadRAG(fpath); err != nil {
logger.Error("failed to embed file", "chat", fpath, "error", err)
+ _ = notifyUser("RAG", "failed to embed file; error: "+err.Error())
errCh <- err
// pages.RemovePage(RAGPage)
return