Commit e1a1981
authored
Fix knowledge migration moving agent directories (#3225)
Fixes #3148
The migrate_legacy_knowledge_base function was incorrectly moving
other agent directories into the current agent's directory when
running /knowledge show. This happened because the migration logic
didn't distinguish between files and directories.
Now only files are migrated from the knowledge_bases root, leaving
other agent directories untouched.1 parent 920a36d commit e1a1981
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
172 | 173 | | |
173 | 174 | | |
174 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
175 | 180 | | |
176 | 181 | | |
177 | 182 | | |
| |||
0 commit comments