WeKnora/internal
wizardchen a4b255a456 feat: implement final_answer tool and enhance agent duration tracking
- Introduced the final_answer tool to ensure agents submit their complete responses as the last action, improving response accuracy and consistency.
- Updated the agent engine to log detailed information about tool calls and responses, including the total duration of agent execution.
- Enhanced the chat message model to include agent_duration_ms, tracking the total execution time from query start to answer delivery.
- Implemented JSON field extraction for streaming responses, allowing for more efficient handling of tool call outputs.

These changes significantly improve the agent's response handling and ensure that final answers are consistently delivered, enhancing overall user experience.
2026-03-09 11:46:56 +08:00
..
agent feat: implement final_answer tool and enhance agent duration tracking 2026-03-09 11:46:56 +08:00
application feat: implement final_answer tool and enhance agent duration tracking 2026-03-09 11:46:56 +08:00
common feat: add organization management features 2026-02-09 11:40:25 +08:00
config feat: introduce WeKnora Lite edition with lightweight configuration and deployment 2026-03-02 21:21:49 +08:00
container feat(storage): 集成S3存储适配器 2026-03-09 10:39:46 +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 feat: implement final_answer tool and enhance agent duration tracking 2026-03-09 11:46:56 +08:00
infrastructure feat: enhance MinerU response handling for document parsing 2026-03-05 18:14:14 +08:00
logger feat: improve document chunk loading and error handling in doc-content component 2026-03-02 21:21:49 +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 feat: add GetUserByTenantID functionality to user repository and service 2026-03-05 18:14:14 +08:00
models feat: implement final_answer tool and enhance agent duration tracking 2026-03-09 11:46:56 +08:00
router feat: add pinning functionality for knowledge bases 2026-03-05 18:14:14 +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 feat: implement final_answer tool and enhance agent duration tracking 2026-03-09 11:46:56 +08:00
utils feat(security): add AES-256-GCM encryption for API keys at rest 2026-03-09 10:35:07 +08:00