@@ -190,12 +190,12 @@ function skipLoader(config) {
190190 const postRegexes = [
191191 new RegExp ( 'http(s*)://(.*?)/conversation/(.*?)/(.*?)' , 'g' ) ,
192192 new RegExp ( 'http(s*)://(.*?)/agent' , 'g' ) ,
193- new RegExp ( 'http(s*)://(.*?)/knowledge/vector /(.*?)/page' , 'g' ) ,
194- new RegExp ( 'http(s*)://(.*?)/knowledge/(.*?)/search ' , 'g' ) ,
195- new RegExp ( 'http(s*)://(.*?)/knowledge/vector /(.*?)/create ' , 'g' ) ,
196- new RegExp ( 'http(s*)://(.*?)/knowledge/document /(.*?)/page' , 'g' ) ,
197- new RegExp ( 'http(s*)://(.*?)/knowledge/document /(.*?)/upload' , 'g' ) ,
198- new RegExp ( 'http(s*)://(.*?)/knowledge/entity/analyze' , 'g' ) ,
193+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection /(.*?)/data /page' , 'g' ) ,
194+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection/ (.*?)/query ' , 'g' ) ,
195+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection /(.*?)' , 'g' ) ,
196+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection /(.*?)/file /page' , 'g' ) ,
197+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection /(.*?)/file /upload' , 'g' ) ,
198+ // new RegExp('http(s*)://(.*?)/knowledge/entity/analyze', 'g'),
199199 new RegExp ( 'http(s*)://(.*?)/users' , 'g' ) ,
200200 new RegExp ( 'http(s*)://(.*?)/instruct/(.*?)' , 'g' ) ,
201201 new RegExp ( 'http(s*)://(.*?)/agent/(.*?)/code-scripts' , 'g' ) ,
@@ -205,17 +205,17 @@ function skipLoader(config) {
205205
206206 /** @type {RegExp[] } */
207207 const putRegexes = [
208- new RegExp ( 'http(s*)://(.*?)/knowledge/vector /(.*?)/update ' , 'g' ) ,
208+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection /(.*?)/data ' , 'g' ) ,
209209 new RegExp ( 'http(s*)://(.*?)/conversation/(.*?)/update-message' , 'g' ) ,
210210 new RegExp ( 'http(s*)://(.*?)/conversation/(.*?)/update-tags' , 'g' ) ,
211211 new RegExp ( 'http(s*)://(.*?)/users' , 'g' ) ,
212212 ] ;
213213
214214 /** @type {RegExp[] } */
215215 const deleteRegexes = [
216- new RegExp ( 'http(s*)://(.*?)/knowledge/vector /(.*?)/delete-collection ' , 'g' ) ,
217- new RegExp ( 'http(s*)://(.*?)/knowledge/vector /(.*?)/data/(.*?)' , 'g' ) ,
218- new RegExp ( 'http(s*)://(.*?)/knowledge/vector /(.*?)/data' , 'g' ) ,
216+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection /(.*?)' , 'g' ) ,
217+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection /(.*?)/data/(.*?)' , 'g' ) ,
218+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection /(.*?)/data' , 'g' ) ,
219219 ] ;
220220
221221 /** @type {RegExp[] } */
@@ -238,8 +238,9 @@ function skipLoader(config) {
238238 new RegExp ( 'http(s*)://(.*?)/conversation/(.*?)/files/(.*?)' , 'g' ) ,
239239 new RegExp ( 'http(s*)://(.*?)/llm-configs' , 'g' ) ,
240240 new RegExp ( 'http(s*)://(.*?)/llm-provider/(.*?)/models' , 'g' ) ,
241- new RegExp ( 'http(s*)://(.*?)/knowledge/vector/collections' , 'g' ) ,
242- new RegExp ( 'http(s*)://(.*?)/knowledge/vector/(.*?)/exist' , 'g' ) ,
241+ new RegExp ( 'http(s*)://(.*?)/knowledge/collections' , 'g' ) ,
242+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection/(.*?)/exist' , 'g' ) ,
243+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection/(.*?)/details' , 'g' ) ,
243244 new RegExp ( 'http(s*)://(.*?)/knowledge/processors' , 'g' ) ,
244245 new RegExp ( 'http(s*)://(.*?)/knowledge/entity/analyzers' , 'g' ) ,
245246 new RegExp ( 'http(s*)://(.*?)/knowledge/entity/data-providers' , 'g' ) ,
@@ -273,17 +274,18 @@ function skipLoader(config) {
273274function skipGlobalError ( config ) {
274275 /** @type {RegExp[] } */
275276 const postRegexes = [
276- new RegExp ( 'http(s*)://(.*?)/knowledge/vector/(.*?)/page' , 'g' ) ,
277- new RegExp ( 'http(s*)://(.*?)/knowledge/(.*?)/search' , 'g' ) ,
278- new RegExp ( 'http(s*)://(.*?)/knowledge/vector/(.*?)/create' , 'g' ) ,
279- new RegExp ( 'http(s*)://(.*?)/knowledge/document/(.*?)/page' , 'g' ) ,
280- new RegExp ( 'http(s*)://(.*?)/knowledge/vector/create-collection' , 'g' ) ,
277+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection/(.*?)/data' , 'g' ) ,
278+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection/(.*?)/data/page' , 'g' ) ,
279+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection/(.*?)/query' , 'g' ) ,
280+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection/(.*?)' , 'g' ) ,
281+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection' , 'g' ) ,
282+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection/(.*?)/file/page' , 'g' ) ,
281283 new RegExp ( 'http(s*)://(.*?)/refresh-agents' , 'g' )
282284 ] ;
283285
284286 /** @type {RegExp[] } */
285287 const putRegexes = [
286- new RegExp ( 'http(s*)://(.*?)/knowledge/vector /(.*?)/update ' , 'g' ) ,
288+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection /(.*?)/data ' , 'g' ) ,
287289 new RegExp ( 'http(s*)://(.*?)/role' , 'g' ) ,
288290 new RegExp ( 'http(s*)://(.*?)/user' , 'g' ) ,
289291 new RegExp ( 'http(s*)://(.*?)/conversation/(.*?)/update-message' , 'g' ) ,
@@ -292,9 +294,9 @@ function skipGlobalError(config) {
292294
293295 /** @type {RegExp[] } */
294296 const deleteRegexes = [
295- new RegExp ( 'http(s*)://(.*?)/knowledge/vector /(.*?)/delete-collection ' , 'g' ) ,
296- new RegExp ( 'http(s*)://(.*?)/knowledge/vector /(.*?)/data/(.*?)' , 'g' ) ,
297- new RegExp ( 'http(s*)://(.*?)/knowledge/vector /(.*?)/data' , 'g' ) ,
297+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection /(.*?)' , 'g' ) ,
298+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection /(.*?)/data/(.*?)' , 'g' ) ,
299+ new RegExp ( 'http(s*)://(.*?)/knowledge/collection /(.*?)/data' , 'g' ) ,
298300 ] ;
299301
300302 /** @type {RegExp[] } */
0 commit comments