964b75d4b7
Refactor chat memory logic to use sources_json for source validation and candidate loading
2026-06-15 22:57:37 +02:00
2aebadb774
Enhance chat memory tests with helper function for sources and verify exclusion of internal memory contexts.
2026-06-15 22:56:55 +02:00
b5f90331e7
Enhance chat turn processing to correctly handle memory-only responses
2026-06-15 22:56:28 +02:00
9ec66c3196
Add comprehensive unit tests to chat memory context building, validating recency and domain-specific scenarios
2026-06-15 22:55:54 +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
ebfa50bf03
Refactor chat memory context loading and implement previous session history retrieval
2026-06-15 22:55:07 +02:00
a5ad7ab261
Improve hit deduplication by enforcing a minimum score threshold
2026-06-15 22:55:07 +02:00
4b0ed88176
Enhance chat memory scoring and token handling by adding expanded query tokens and refining ranking weights.
2026-06-15 22:54:25 +02:00
ebbc19c01d
Enhance chat memory NLP by updating stopwords, improving last conversation detection regex, and adding query expansions.
2026-06-15 22:54:10 +02:00
c9a9253c8d
Update type hints in backend/main.py by adding Dict import
2026-06-15 22:38:43 +02:00
1097ca46d8
Ensure chat memory schema exists before running core sync functions
2026-06-15 22:37:19 +02:00
a0a103dacd
Update chat memory test scenarios with new details
2026-06-15 22:37:19 +02:00
5c578a7b84
Add unit tests for chat memory context building and synchronization
2026-06-15 22:37:19 +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
3294de9471
Sync and clean up chat memory across session management functions
2026-06-15 22:34:45 +02:00
d0c69a4f96
Feat: Integrate persistent chat memory and enhance context management
...
Adds helper functions to retrieve historical chat memory context (`_chat_memory_context`) and merge enriched messages. Updates both the main chat endpoint and regeneration logic to utilize this context, ensuring conversation continuity and reliable source deduplication.
2026-06-15 22:34:05 +02:00
031588198d
feat: Integrate chat memory schema setup and backfill on startup
2026-06-15 22:33:41 +02:00
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