Commit Graph

626 Commits

Author SHA1 Message Date
d9e963ef74 auto-git:
[change] backend/chat_memory.py
2026-06-15 22:33:41 +02:00
d3e7ec56ee auto-git:
[add] backend/chat_memory.py
2026-06-15 22:33:41 +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
ec28cc9bff Update get_workflow_events call with specific parameters in tests 2026-06-15 21:54:25 +02:00
63d0937754 Add unit test for interrupted workflow event stream API endpoint 2026-06-15 21:52:57 +02:00
1f482810fb Handle run interruption state and errors across components 2026-06-15 21:52:57 +02:00
117a16aca5 Add explicit 'run_interrupted' event when streaming workflow events 2026-06-15 21:52:29 +02:00
d415dd7ead Test: Validate research evaluator follow-up query constraints 2026-06-15 21:49:59 +02:00
00fe48f04d Enhance evidence evaluation node with stricter guidelines and richer context 2026-06-15 21:48:44 +02:00
7916fbf242 Add test case to ensure limit node preserves sources from merged context 2026-06-15 21:48:25 +02:00
fafd358890 Clean up workflow runtime result by removing 'items' field 2026-06-15 21:48:25 +02:00
58cdc17341 Update tests to reflect refined built-in workflow routing logic 2026-06-15 21:39:32 +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
8d53590e95 Add unit tests for chat history cleanup logic 2026-06-15 21:39:02 +02:00
0e65dd3bd6 Update workflow router built-in test assertions for improved coverage of routing logic 2026-06-15 21:37:44 +02:00
c8930fdb70 Refine title generation prompt to enforce stricter constraints and extract concrete subject 2026-06-15 21:37:44 +02:00
bb08eb4a93 Refactor chat handler to drop superseded trailing user messages from history 2026-06-15 21:37:10 +02:00
e2d86ff96a Enhance workflow name detection by checking multiple event payload fields 2026-06-15 21:36:52 +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
e35a29baef Enhance tests for workflow router builtins by validating specific instructional text in the generated prompt and removing cost assertions. 2026-06-15 21:28:38 +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
b3e1130f97 Update workflow run test case to pass None for session ID 2026-06-15 21:06:28 +02:00
8ced33552e Use direct workflow ID when testing workflow runs 2026-06-15 21:05:01 +02:00
32e9e4478e Update test URL in web tool tests 2026-06-15 21:05:01 +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
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