WeKnora/internal/models
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
..
chat feat: implement final_answer tool and enhance agent duration tracking 2026-03-09 11:46:56 +08:00
embedding feat: Use num_ctx instead of truncate for embedding truncation 2026-02-04 14:24:01 +08:00
provider fix(zhipu): correct Embedding BaseURL to match API structure 2026-01-25 16:53:49 +08:00
rerank feat: 新增对多家平台的模型适配 2025-12-29 12:18:42 +08:00
utils refactor: Update function signatures across multiple files to improve readability by adding context parameters and enhancing code structure 2025-11-28 16:17:52 +08:00
vlm feat: introduce WeKnora Lite edition with lightweight configuration and deployment 2026-03-02 21:21:49 +08:00