WeKnora/frontend/src/views/chat/components
wizardchen d38a6efd87 refactor(agent): remove final_answer tool references and update related logic
- Eliminated all instances of the final_answer tool from the agent's configuration and logic, transitioning to a model where the agent concludes responses with plain text instead.
- Updated event handling and response analysis to reflect this change, ensuring that the agent's output is now directly delivered as text without relying on a dedicated final answer tool.
- Adjusted localization strings across multiple languages to remove references to final_answer, enhancing clarity and consistency in user-facing messages.
- Improved the overall structure of the agent's response handling to streamline the process and reduce potential confusion regarding tool usage.

refactor(agent): streamline answer handling and preamble logic

- Updated the agent's response handling to treat any text streamed before a tool call as a preamble, ensuring it is not included in the final answer.
- Removed the superseded marker logic from the event emission process, simplifying the flow of answer content and enhancing clarity in the UI.
- Adjusted the event handling to ensure that preamble segments are correctly retracted and relocated into the steps tree, improving the overall user experience.
- Enhanced the agent's internal logic to better manage answer segments and their states during streaming, leading to a more coherent response structure.
2026-06-04 15:48:04 +08:00
..
tool-results feat(ui): update SVG assets and enhance localization for knowledge framework 2026-06-04 15:48:04 +08:00
AgentStreamDisplay.vue refactor(agent): remove final_answer tool references and update related logic 2026-06-04 15:48:04 +08:00
ToolApprovalCard.vue feat(agent): human-in-the-loop approval for MCP tool calls (#1173) 2026-05-10 22:57:12 +08:00
ToolResultRenderer.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
botmsg.vue feat(chat): add request info button and debug payload for stream requests 2026-06-04 15:48:04 +08:00
deepThink.vue fix(frontend): replace v-html with text interpolation in deepThink 2026-03-25 22:08:29 +08:00
docInfo.vue feat: Introduce Wiki Fixer agent and related functionalities 2026-04-22 21:18:08 +08:00
sendMsg.vue feat: Integrate vue-i18n for multilingual support across components 2025-11-13 19:34:33 +08:00
usermsg.vue fix(chat): adjust user message container to support pre-wrapped text 2026-05-21 16:11:22 +08:00