WeKnora/internal/handler/session
wizardchen b6337cd970 fix(session): handle user-requested stop events gracefully in QA execution
- Updated the QA execution logic to differentiate between user-requested cancellations and actual errors, preventing unnecessary error events from being emitted when a stop is requested.
- Enhanced logging to provide clear feedback when a QA session is cancelled by the user, improving the user experience and reducing confusion.
- Added context cancellation checks to ensure proper handling of stopped generation scenarios, maintaining the integrity of the session flow.
2026-06-04 15:48:04 +08:00
..
agent_stream_handler.go feat(observability): log end-to-end TTFB on both ends of chat stream 2026-05-12 21:16:37 +08:00
attachment_processor.go fix:attachment_document_failed 2026-04-29 22:34:13 +08:00
handler.go feat(system): consolidate system admin and settings into one Settings panel 2026-05-26 21:13:56 +08:00
helpers.go refactor(api): drop deprecated tenant ConversationConfig field and KV write path 2026-05-18 17:28:58 +08:00
image_upload.go feat(video): update ASR terminology and file type labels for improved clarity 2026-04-14 22:59:14 +08:00
qa.go fix(session): handle user-requested stop events gracefully in QA execution 2026-06-04 15:48:04 +08:00
stream.go fix(session): map ErrSessionNotFound to 404 across all handlers 2026-05-14 16:47:36 +08:00
title.go feat: 支持知识库选择模式和标题生成模型配置 2025-12-29 14:35:13 +08:00
types.go feat(session): persist last request state for UI restoration 2026-05-18 22:28:00 +08:00
wiki_fixer_scope.go fix(session): scope wiki fixer to shared KB tenant 2026-05-21 11:19:19 +08:00
wiki_fixer_scope_test.go fix(session): scope wiki fixer to shared KB tenant 2026-05-21 11:19:19 +08:00