feat: enhance vector index details functionality#977
Conversation
- Added new API endpoint to retrieve vector index details for documents. - Updated document schema to include vector index details. - Integrated vector index details into the frontend, including a new drawer component for displaying vector information. - Added translations for vector index details in both English and Chinese.
- Added new API endpoint to retrieve vector index details for documents. - Updated document schema to include vector index details. - Integrated vector index details into the frontend with a new drawer component for displaying vector information. - Added translations for vector index details in English and Chinese.
There was a problem hiding this comment.
Bug: API Client URL Mismatch Causes 404 Errors
The generated frontend API client uses the URL path /collections/{collection_id}/documents/{document_id}/vector_index (with an underscore), which mismatches the OpenAPI specification and backend route that define the path as /collections/{collection_id}/documents/{document_id}/vector-index (with a hyphen). This inconsistency will cause all API calls to this endpoint to fail with 404 errors.
frontend/src/api/apis/default-api.ts#L2207-L2210
ApeRAG/frontend/src/api/apis/default-api.ts
Lines 2207 to 2210 in 92768de
BugBot free trial expires on July 22, 2025
You have used $0.00 of your $1.00 spend limit so far. Manage your spend limit in the Cursor dashboard.
Was this report helpful? Give feedback by reacting with 👍 or 👎
No description provided.