WeKnora/internal
ochan.kwon 380f5d9405 fix(agent): prevent empty response when no Knowledge Base is configured
- guard against empty content completion in analyzeResponse/executeLoop
  with retry (max 2), nudge message, and fallback response
- propagate actual finish_reason through streaming pipeline instead of
  hardcoding "stop" in streamThinkingToEventBus
- add FinishReason field to StreamResponse and streamLLMResult
- add finish marker chunk in processStreamDelta for empty content scenarios
- propagate lastFinishReason through EOF handler in processStream
- strengthen PureAgent system prompt with MCP tool guidelines and
  graceful fallback instructions for unanswerable questions
- add unit tests for empty response bug and finish_reason propagation
2026-03-27 14:56:12 +08:00
..
agent fix(agent): prevent empty response when no Knowledge Base is configured 2026-03-27 14:56:12 +08:00
application feat(prompt): enhance context and intent classification in templates 2026-03-26 18:57:12 +08:00
common feat: add organization management features 2026-02-09 11:40:25 +08:00
config feat(prompt): enhance context and intent classification in templates 2026-03-26 18:57:12 +08:00
container Add im channel Mattermost 2026-03-27 14:32:07 +08:00
database feat: enhance system information display with database version 2026-03-02 21:21:49 +08:00
errors feat: Add agent configuration and cleanup scripts for database migrations 2025-11-05 23:18:44 +08:00
event refactor(agent): remove query display from DatabaseQuery component and update tool result structure 2026-03-25 22:08:29 +08:00
handler Add im channel Mattermost 2026-03-27 14:32:07 +08:00
im Add im channel Mattermost 2026-03-27 14:32:07 +08:00
infrastructure feat(image-multimodal): add task enqueuing for question generation based on image knowledge 2026-03-25 22:08:29 +08:00
logger chore: update fallback templates 2026-03-17 22:23:24 +08:00
mcp fix: MCP Client connection state not marked as closed after connection loss in SSE transport type 2026-02-02 10:42:19 +08:00
middleware feat(prompt): enhance context and intent classification in templates 2026-03-26 18:57:12 +08:00
models fix(agent): prevent empty response when no Knowledge Base is configured 2026-03-27 14:56:12 +08:00
router feat(suggested-questions): implement suggested questions feature for chat interface 2026-03-25 22:08:29 +08:00
runtime init commit 2025-08-05 15:08:07 +08:00
sandbox feat: optimize security and deployment of agent skills 2026-02-04 20:08:49 +08:00
searchutil refactor(chat_pipeline): enhance merging logic and add partial overlap removal 2026-03-25 22:08:29 +08:00
stream feat(redis): add REDIS_USERNAME support for Redis ACL 2026-02-04 19:38:40 +08:00
tracing init commit 2025-08-05 15:08:07 +08:00
types fix(agent): prevent empty response when no Knowledge Base is configured 2026-03-27 14:56:12 +08:00
utils feat(security): enhance SSRF protection in RemoteAPIChat 2026-03-26 11:37:07 +08:00