WeKnora/internal/handler/session
wizardchen 03005d71fa refactor(session): streamline tenant context handling for async operations
- Updated session title generation and message completion to utilize the session's tenant ID directly, ensuring correct context is used in background operations.
- Removed unnecessary context value extraction and background context creation, simplifying the code and improving clarity.
- Enhanced the handling of stop events and message updates to consistently apply the session's tenant ID, improving the accuracy of operations in shared agent scenarios.

This update improves the reliability of async operations by ensuring the correct tenant context is consistently applied.
2026-02-09 11:40:25 +08:00
..
agent_stream_handler.go refactor: 转换 knowledgeRefs 为 References 类型 2025-12-31 15:36:20 +08:00
handler.go feat(agent): enhance agent sharing and selection features 2026-02-09 11:40:25 +08:00
helpers.go refactor(session): streamline tenant context handling for async operations 2026-02-09 11:40:25 +08:00
qa.go refactor(session): streamline tenant context handling for async operations 2026-02-09 11:40:25 +08:00
stream.go feat: 新增API Key认证支持,优化Swagger文档安全配置 2025-12-22 15:01:09 +08:00
title.go feat: 支持知识库选择模式和标题生成模型配置 2025-12-29 14:35:13 +08:00
types.go feat(agent): enhance agent sharing and selection features 2026-02-09 11:40:25 +08:00