WeKnora/internal
wizardchen 2984b21731 refactor: consolidate QA request handling and improve session service interface
- Introduced a new `QARequest` type to streamline parameters for KnowledgeQA and AgentQA service calls, replacing multiple parameters with a single structured request.
- Updated the `KnowledgeQA` and `AgentQA` methods in the session service interface to accept the new `QARequest` type, enhancing clarity and maintainability.
- Refactored the request parsing logic to utilize the new `buildQARequest` method, improving code organization and reducing redundancy.
- Implemented a new `resolveAgent` method to simplify custom agent resolution logic, enhancing readability and maintainability.

These changes improve the overall structure and usability of the QA request handling, facilitating easier updates and better code organization.
2026-03-16 02:26:47 +08:00
..
agent feat: enhance knowledge search by resolving embedding model keys 2026-03-16 02:26:47 +08:00
application refactor: consolidate QA request handling and improve session service interface 2026-03-16 02:26:47 +08:00
common feat: add organization management features 2026-02-09 11:40:25 +08:00
config feat: enhance IM integration with streaming support and documentation 2026-03-16 02:26:17 +08:00
container feat: enhance IM integration with streaming support and documentation 2026-03-16 02:26:17 +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 feat: add fallback response handling and UI indicators 2026-03-05 18:14:14 +08:00
handler refactor: consolidate QA request handling and improve session service interface 2026-03-16 02:26:47 +08:00
im feat: enhance IM integration with streaming support and documentation 2026-03-16 02:26:17 +08:00
infrastructure fix: enforce 7500 char limit in chunker to prevent embedding API errors 2026-03-15 23:59:34 +08:00
logger feat: enhance multimodal support and image handling 2026-03-16 02:26:47 +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 fix: update grep_chunks tool to support multiple patterns 2026-03-16 02:26:47 +08:00
models feat: enhance multimodal support and image handling 2026-03-16 02:26:47 +08:00
router feat: add clear session messages functionality 2026-03-16 02:26:47 +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 feat: implement parent-child chunking strategy for enhanced context management 2026-03-05 18:14:14 +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 refactor: consolidate QA request handling and improve session service interface 2026-03-16 02:26:47 +08:00
utils feat: implement image upload and multimodal support 2026-03-16 02:26:47 +08:00