Make document keyword search case-insensitive (LOWER(...) LIKE LOWER(?)) in the list filter and SearchKnowledge / SearchKnowledgeInScopes paths so a query and its differently-cased variant return the same results. Classify not-found consistently as HTTP 404 (not 500) so clients read a permanent resource.not_found instead of a retryable 5xx: map the document / chunk not-found sentinels in the KB-access middleware (typed ErrChunkNotFound via errors.Is), and return 404 for a missing message on the continue-stream and message-delete endpoints. |
||
|---|---|---|
| .. | ||
| asynqdl | ||
| access.go | ||
| access_test.go | ||
| audit_provider.go | ||
| auth.go | ||
| auth_api_principal_test.go | ||
| auth_public_ratelimit.go | ||
| auth_role_test.go | ||
| embed_auth.go | ||
| embed_auth_test.go | ||
| error_handler.go | ||
| kb_access.go | ||
| kb_access_test.go | ||
| language.go | ||
| logger.go | ||
| logger_test.go | ||
| rbac.go | ||
| rbac_audit_test.go | ||
| rbac_test.go | ||
| recovery.go | ||