Commit 3528ab2
committed
fix: resolve duplicate RAG tool names and nil pointer panic in file watcher
- Use RAG definition ref key as default tool name so multiple RAG refs
get unique names instead of all defaulting to "rag"
- Allow 'name' field on RAG type toolsets in validation
- Fix race condition in VectorStore.watchLoop where Close() sets
s.watcher to nil while the goroutine accesses it without the mutex
Assisted-By: docker-agent1 parent dc8062b commit 3528ab2
File tree
3 files changed
+25
-8
lines changed- pkg
- config
- latest
- rag/strategy
3 files changed
+25
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
| 111 | + | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
54 | 60 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
816 | 825 | | |
817 | 826 | | |
818 | 827 | | |
| |||
929 | 938 | | |
930 | 939 | | |
931 | 940 | | |
932 | | - | |
| 941 | + | |
933 | 942 | | |
934 | 943 | | |
935 | 944 | | |
| |||
940 | 949 | | |
941 | 950 | | |
942 | 951 | | |
943 | | - | |
944 | | - | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
945 | 956 | | |
946 | 957 | | |
947 | 958 | | |
| |||
974 | 985 | | |
975 | 986 | | |
976 | 987 | | |
977 | | - | |
| 988 | + | |
978 | 989 | | |
979 | 990 | | |
980 | 991 | | |
| |||
0 commit comments