WeKnora/internal/agent
wizardchen 0bb1a581de feat(agent): enhance token management and context handling in AgentEngine
- Added token usage tracking to the AgentEngine, allowing for better estimation of current context token counts.
- Implemented a new method to estimate current tokens based on previous usage and newly appended messages, improving context management.
- Updated context window management to utilize estimated token counts for more efficient message consolidation.
- Enhanced streaming methods to include token usage information, providing better insights into LLM interactions.
- Refactored the token estimator to support BPE tokenization, ensuring accurate token counts for messages.
- Added unit tests to validate new token estimation and context management functionalities.
2026-03-25 22:08:29 +08:00
..
memory feat(agent): enhance token management and context handling in AgentEngine 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 token management and context handling in AgentEngine 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 fix(agent): update tool hint comment for clarity in UI progress display 2026-03-25 22:08:29 +08:00
const.go feat(agent): implement core agent functionalities and context management 2026-03-25 22:08:29 +08:00
engine.go feat(agent): enhance token management and context handling in AgentEngine 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 feat(agent): enhance token management and context handling in AgentEngine 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 token management and context handling in AgentEngine 2026-03-25 22:08:29 +08:00