Commit Graph

254 Commits

Author SHA1 Message Date
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
93387e6cec Test: Ensure automatic workflow runs persist router-supplied web search inputs 2026-06-15 21:04:11 +02:00
b3a33a9fb1 Improve assertions and mock checks in workflow router tests 2026-06-15 21:03:55 +02:00
3e0b285764 Refactor web tool unit tests to update query generation and search assertions 2026-06-15 21:03:28 +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
505085fb87 Test: Improve coverage for web tool queries, ensuring accurate transformation and searching for specific topics. 2026-06-15 20:58:16 +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
bb80610a3c Test: Add comprehensive unit tests for web tools, ensuring robust filtering of noise, generic terms, and irrelevant content during query generation, searching, fetching, and re-ranking. 2026-06-15 20:48:14 +02:00
7b07b344e9 Enhance web toolchain robustness with advanced filtering, topic matching, and refined query generation. 2026-06-15 20:46:44 +02:00
a3abc68d70 Update workflow test cases and refine web search toggle labels 2026-06-15 20:41:43 +02:00
9aac9ccb2b Refactor: Update and improve unit tests for workflow router builtins 2026-06-15 20:40:34 +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
f45f9dbfe5 Add unit tests for web fetching tools 2026-06-15 20:35:18 +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
c904831bd6 auto-git:
[change] backend/tests/test_workflow_router_builtins.py
2026-06-15 20:29:48 +02:00
8b37a8ef58 Enhance workflow router tests to cover web search scenarios and validate fast path permissions 2026-06-15 20:28:49 +02:00
71d61931cd Feature: Add workflow selection mode settings and normalization 2026-06-15 20:28:38 +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
6257cf0912 Update json module usage in workflow API tests 2026-06-15 15:48:00 +02:00
6ebd8b869e Test: Validate workflow run targets source URLs and previous assistant messages 2026-06-15 15:46:53 +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
291f5fe5d0 test(workflow): Use UUIDs for generating unique workflow slugs in tests 2026-06-15 15:33:46 +02:00
0a42dc8a2d feat(tests): Add comprehensive tests for workflow API and runtime execution 2026-06-15 15:33:46 +02:00
6450614c5b Enhance workflow state tracking by passing and utilizing selection mode in agent runtimes 2026-06-15 15:32:14 +02:00
dae2ce0f9d Implement message regeneration feature for workflow runs 2026-06-15 15:30:52 +02:00
f562fd5c01 Fix runtime session check and standardize workflow edge handles in editor 2026-06-15 15:30:51 +02:00
8a0d825274 fix(agent/registry): Improve tool execution timeout and cancellation handling 2026-06-15 15:24:58 +02:00
d3ddefdc27 feat(tests): Add comprehensive unit tests for agent components (registry, router, runtime, validation) 2026-06-15 15:24:58 +02:00
84a845948b Pass maximum tool calls limit to workflow runtime 2026-06-15 15:14:08 +02:00
e783885503 feat(integration): Integrate agent workflows into main backend and enhance message history tracking 2026-06-15 15:12:58 +02:00