WeKnora/internal/agent
wizardchen a8924e301e feat(agent): enhance message consolidation and context management
- Improved the message consolidation logic to preserve the current turn's user query and all subsequent assistant/tool messages, ensuring better context retention.
- Updated the CompressContext function to reflect the new consolidation strategy, maintaining the system prompt and relevant recent messages.
- Refactored the context manager to support optional message repository for improved context rebuilding from persistent storage.
- Added comprehensive tests to validate the new consolidation behavior and ensure correct message handling across various scenarios.
2026-03-25 22:08:29 +08:00
..
memory feat(agent): enhance message consolidation and context management 2026-03-25 22:08:29 +08:00
skills feat: adapt preloaded skills to smart-reasoning agent 2026-02-04 20:08:49 +08:00
token feat(agent): enhance message consolidation and context management 2026-03-25 22:08:29 +08:00
tools refactor(agent): remove query display from DatabaseQuery component and update tool result structure 2026-03-25 22:08:29 +08:00
act.go feat(server): enhance server startup and shutdown process 2026-03-25 22:08:29 +08:00
const.go feat(server): enhance server startup and shutdown process 2026-03-25 22:08:29 +08:00
engine.go feat(agent): enhance message consolidation and context management 2026-03-25 22:08:29 +08:00
engine_image_test.go feat: auto-describe MCP tool result images via VLM 2026-03-25 21:38:15 +08:00
finalize.go feat(agent): enhance token management and context handling in AgentEngine 2026-03-25 22:08:29 +08:00
observe.go refactor(agent): enhanced the checkFAQQuestionDuplicate function in knowledge.go by adding structured comments to outline the validation steps for FAQ questions, improving readability and maintainability. 2026-03-25 22:08:29 +08:00
prompts.go feat: enhance localization and configuration support 2026-03-17 22:23:24 +08:00
think.go feat(agent): enhance streaming diagnostics and event tracking 2026-03-25 22:08:29 +08:00