feat: add /api/v1/language endpoint for Go/Python runtime detection (#16952)

Both backends serve GET /api/v1/language. Frontend calls it once and
caches. By this way, front end can know the backend is go or python and
thus can determine which part of logic to load.

---------

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Jack
2026-07-16 15:13:43 +08:00
committed by GitHub
parent 92ae4f6769
commit fd5487e064
8 changed files with 111 additions and 1 deletions

View File

@@ -181,6 +181,7 @@ export default {
`${restAPIv1}/datasets/${datasetId}/ingestions/${logId}`,
fetchPipelineDatasetLogs: (datasetId: string) =>
`${restAPIv1}/datasets/${datasetId}/ingestions`,
listPipelines: `${restAPIv1}/pipelines?type=builtin`,
runIndex: (datasetId: string, indexType: string) =>
`${restAPIv1}/datasets/${datasetId}/index?type=${indexType.toLowerCase()}`,
traceIndex: (datasetId: string, indexType: string) =>