refactor: Remove knowledge base-related API handlers that are already included in the dataset. (#14094)

### What problem does this PR solve?

refactor: Remove knowledge base-related API handlers that are already
included in the dataset.

### Type of change

- [x] Refactoring
This commit is contained in:
chanx
2026-04-14 15:19:31 +08:00
committed by GitHub
parent 2b6c50734f
commit 6aec8058bb
5 changed files with 17 additions and 353 deletions

View File

@@ -60,7 +60,7 @@ export default defineConfig(({ mode }) => {
},
},
hybrid: {
'^(/api/v1/memories)|^(/v1/user/info)|^(/v1/user/tenant_info)|^(/v1/tenant/list)|^(/v1/system/config)|^(/v1/user/login)|^(/v1/user/logout)|^(/api/v1/files)':
'^(/v1/kb)|^(/v1/document)|^(/v1/llm/list)|^(/api/v1/datasets)|^(/api/v1/memories)|^(/v1/user)|^(/v1/user/tenant_info)|^(/v1/tenant/list)|^(/v1/system/config)|^(/v1/user/login)|^(/v1/user/logout)|^(/api/v1/files)':
{
target: 'http://127.0.0.1:9384/',
changeOrigin: true,