mirror of
https://git.boos.lat/aibo/BossChat.git
synced 2026-10-30 15:16:11 +00:00
fix: propagate document indexing errors to caller
Previously indexing failures were silently logged, returning success even when the embedding model was not configured or Qdrant was down. Now the error is returned to the frontend so the user sees it.
This commit is contained in:
@@ -267,7 +267,6 @@ function AgentEditDialogBody({
|
||||
}
|
||||
|
||||
function onFormError(errors: object) {
|
||||
console.error("Agent form validation errors:", errors)
|
||||
const firstError = Object.values(errors).find(
|
||||
(e: unknown) => (e as { message?: string })?.message
|
||||
) as { message?: string } | undefined
|
||||
|
||||
Reference in New Issue
Block a user