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. |
||
|---|---|---|
| .. | ||
| agent_stream_handler.go | ||
| attachment_processor.go | ||
| handler.go | ||
| helpers.go | ||
| helpers_test.go | ||
| image_upload.go | ||
| qa.go | ||
| stream.go | ||
| title.go | ||
| types.go | ||
| wiki_fixer_scope.go | ||
| wiki_fixer_scope_test.go | ||