Refactor: dataset / kb API to RESTFul style (#13619)

### What problem does this PR solve?

1. Split dataset api to gateway and service, and modify web UI to use
restful http api.
2. Old KB releated APIs are commented.

### Type of change

- [x] Refactoring
This commit is contained in:
Lynn
2026-03-16 22:51:34 +08:00
committed by GitHub
parent 73bc9b91de
commit 1db5409d82
53 changed files with 1721 additions and 1207 deletions

View File

@@ -242,7 +242,9 @@ export const MultiSelect = React.forwardRef<
const disabledValueSet = React.useMemo(() => {
return new Set(
flatOptions.filter((option) => option.disabled).map((option) => option.value),
flatOptions
.filter((option) => option.disabled)
.map((option) => option.value),
);
}, [flatOptions]);