Commit Graph

72 Commits

Author SHA1 Message Date
c9b8c5d0f5 Add dedicated workflows for searching and answering from past chat memories 2026-06-16 19:53:16 +02:00
05e8b0296f Implement chat memory tool and integrate it into agent capabilities 2026-06-16 19:53:16 +02:00
be7e1c7c49 Refactor workflow run logic by removing explicit dependency on chat memory context blocks during execution 2026-06-16 19:52:18 +02:00
abed82924b Add _model_error_summary and _fallback_content_from_context functions 2026-06-16 19:14:01 +02:00
f0ff7c894b Add fallback rerank logic for web search 2026-06-16 19:06:01 +02:00
5da8b3ba6d Refactor RAG and web search logic for improved compatibility checks in runtime 2026-06-15 22:55:54 +02:00
60b32513cf Update workflow runtime logic to correctly prepend compatibility context blocks when RAG or Web features are enabled 2026-06-15 22:55:28 +02:00
854ee51861 Enhance agent API by adding compatibility checks for RAG/Web capabilities and safely parsing required workflow capabilities 2026-06-15 22:55:28 +02:00
76d066773a Improve source key extraction robustness in chat tools 2026-06-15 22:37:19 +02:00
17e22ec4ef Enhance context handling by ensuring external context is appended to the last user message if not automatically applied during row processing. 2026-06-15 22:35:57 +02:00
a111624c36 Improve context block merging logic in WorkflowRuntime and synchronize session memory after execution 2026-06-15 22:35:25 +02:00
767b45d334 Pass dynamic memory blocks to workflow run payload and sync chat memory upon regeneration 2026-06-15 22:35:25 +02:00
c0904d78f6 Integrate explicit chat memory context into workflow run selection 2026-06-15 22:34:45 +02:00
8616c077cc Improve line sampling deduplication and add robust tests for message digest and prompt construction in router logic 2026-06-15 22:05:23 +02:00
13cfd7518b Implement structured message digestion and attachment summarizing for improved long-context routing. 2026-06-15 22:05:03 +02:00
117a16aca5 Add explicit 'run_interrupted' event when streaming workflow events 2026-06-15 21:52:29 +02:00
00fe48f04d Enhance evidence evaluation node with stricter guidelines and richer context 2026-06-15 21:48:44 +02:00
fafd358890 Clean up workflow runtime result by removing 'items' field 2026-06-15 21:48:25 +02:00
1609e39840 Refine routing descriptions for web-answer and research workflows 2026-06-15 21:39:32 +02:00
a66db9fe71 Refine agent routing instructions to distinguish between web-answer and research workflows 2026-06-15 21:39:02 +02:00
bb08eb4a93 Refactor chat handler to drop superseded trailing user messages from history 2026-06-15 21:37:10 +02:00
564623fa91 Refine agent workflow definitions by updating routing descriptions for clarity and better differentiation between core capabilities (chat, RAG, web, research). 2026-06-15 21:36:41 +02:00
3ed74e7e8a Refactor router prompts and update workflow choice display format 2026-06-15 21:36:24 +02:00
36cd49d956 Refine usage guidelines and descriptions for core agent workflows 2026-06-15 21:35:39 +02:00
57ce5a4d1e Refactor router inputs: Remove complex keyword detection for 'fresh info' and simplify forced web manifest selection. 2026-06-15 21:35:27 +02:00
fb944223e9 Enhance router intelligence to detect requests for fresh information (weather, news) and improve web search forcing logic. 2026-06-15 21:34:50 +02:00
d8c6dc06c6 Update built-in workflow descriptions to clarify usage boundaries (Input->Output, Web Answer, Research) 2026-06-15 21:26:50 +02:00
631d632911 Refine router prompt rules and remove cost display from workflow choices 2026-06-15 21:26:50 +02:00
7e53c27115 Refactor workflow selection logic and abstract prompt generation; adds comprehensive test for follow-up context. 2026-06-15 21:23:34 +02:00
8d70f37d16 Enhance workflow routing logic by improving prompt structure and adding helpers for formatting conversation history and available workflows. 2026-06-15 21:23:22 +02:00
2c5f4f71a3 Feature: Force web answer selection if web search is enabled and primary workflow choice is weak 2026-06-15 21:06:44 +02:00
077bf71aa8 Refine query cleaning logic for web tools 2026-06-15 21:05:01 +02:00
d9d696c22c Add web search queries to reference fields 2026-06-15 21:05:01 +02:00
d6b8ee71f6 Refactor built-in workflows to use direct web search inputs instead of dedicated query generation nodes 2026-06-15 21:03:05 +02:00
8787c2cf65 Enhance workflow run input handling by merging router results and supporting web search parameters 2026-06-15 21:03:05 +02:00
4da9b7faef Add utilities to clean and resolve multiple web search queries from input samples 2026-06-15 21:02:25 +02:00
5857c0f60c Refine fast path logic in router by enabling early exit for web search and cleaning up text processing 2026-06-15 21:02:25 +02:00
0270a65ab3 Refactor input processing: Normalize web search queries and simplify fast path logic in router. 2026-06-15 21:01:58 +02:00
5dd5514fc4 Refactor web tools: Simplify query processing, remove complex topic matching, and standardize noise result filtering. 2026-06-15 21:01:36 +02:00
c5b8e5a087 Enhance web tool queries by adding temporal terms and refactoring fallback query generation logic 2026-06-15 20:58:05 +02:00
9c368b97c5 Improve agent reliability by implementing evidence-first chat grounding, expanding search vocabulary, refining research question formulation, and adding comprehensive query generation tests. 2026-06-15 20:56:06 +02:00
ba51bb9a1b Enhance query terms and add specialized aliases for better lookup coverage 2026-06-15 20:55:47 +02:00
7b07b344e9 Enhance web toolchain robustness with advanced filtering, topic matching, and refined query generation. 2026-06-15 20:46:44 +02:00
fb33c291ea Refactor workflow selection logic: Improves manifest prioritization for combined web/knowledge answers and updates the 'web' capability check to be unconditional. Also enhances context logging to differentiate between forced and automatic web search modes. 2026-06-15 20:40:05 +02:00
8f74205db6 Increase URL limit, enforce text truncation limit, and use full content for hashing in web fetch tool 2026-06-15 20:35:18 +02:00
79c6cee413 Refine regex patterns for extracting content from remember/save commands 2026-06-15 20:29:49 +02:00
ebf90ecd8e Improve target message handling for "remember-this" workflows 2026-06-15 20:29:49 +02:00
983081eccd Improve prompt generation by handling long messages and dynamic history context 2026-06-15 20:26:48 +02:00
bd2c003965 Pass edited message content when saving to knowledge 2026-06-15 20:26:48 +02:00
3fd2cf4910 auto-git:
[change] backend/agent/validation.py
2026-06-15 20:26:48 +02:00