Commit Graph

63 Commits

Author SHA1 Message Date
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
236d2d8962 auto-git:
[change] backend/agent/api.py
 [change] backend/agent/schemas.py
2026-06-15 20:26:48 +02:00
f2644ce3cd Enhance workflow run context by passing target message content and improving 'remember-this' logic 2026-06-15 20:26:02 +02:00
3f23d22e6b Implement content extraction for 'remember' and 'save' messages 2026-06-15 20:25:44 +02:00
0e7f54dbb6 Pass web search status when selecting a workflow 2026-06-15 20:25:44 +02:00
043e40b0aa Add web search enablement flag to workflow selection parameters 2026-06-15 20:25:44 +02:00
024bffecd1 Enhance workflow selection logic by implementing fast-path detection and improving manifest filtering based on capabilities, attachments, and keywords. 2026-06-15 20:25:21 +02:00
fd1f31ee76 Refactor knowledge search handler to use multiprocessing for isolated context retrieval and improved stability. 2026-06-15 15:50:55 +02:00
c7eed48fce Improve context handling for workflow runs by auto-detecting target URLs and setting the previous assistant message as the default target ID. 2026-06-15 15:46:38 +02:00
e274c09ae5 Refactor built-in workflows to use conditional branching for message and website saving success/failure states 2026-06-15 15:39:36 +02:00