Commit Graph

228 Commits

Author SHA1 Message Date
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
c62152353c feat(agent): Implement core API endpoints for workflow management and execution 2026-06-15 15:12:58 +02:00
97729f4ce8 feat(agent): Implement core workflow runtime logic and event logging 2026-06-15 15:11:41 +02:00
efe4cc0875 Implement intelligent router to select the appropriate agent workflow based on user intent 2026-06-15 15:08:18 +02:00
0376ab8eed Introduce core built-in workflows (Web, Knowledge, Vision, Research) and workflow seeding logic 2026-06-15 15:08:18 +02:00
48cf63d535 Add tools for knowledge persistence (saving messages/websites) and visual attachment analysis. 2026-06-15 15:05:51 +02:00
b2f1aeba42 Implement comprehensive web tools for searching, fetching content, and context reranking. 2026-06-15 15:05:51 +02:00
97366bb8e0 Implement core agent tooling infrastructure (chat, knowledge search) and update tool registration 2026-06-15 15:04:04 +02:00
0c04d5bf7d Add asyncio import to ollama_client 2026-06-15 15:04:04 +02:00
3593117736 Update Ollama client to support typed results, structured tool calling, and detailed usage tracking. 2026-06-15 15:02:39 +02:00
f8325e5458 Introduce core agent framework components: workflow persistence models, tool registry system, and reference binding logic. 2026-06-15 15:02:39 +02:00
f43976f167 Feature: Integrate workflow tracking and agent metadata to chat messages 2026-06-15 14:58:37 +02:00
a6ba0db6ff Refactor video download logic to use httpx instead of requests 2026-06-15 06:20:00 +02:00
e9e7df7e20 Feat: Enhance library management features
- Adds strict HTTP/HTTPS validation when creating library websites.
- Improves summary cleanup in video ingestion by removing thinking tags and prefixes.
- Updates LibraryManager UI to display comprehensive metadata (ID, provider, upload date, character count, etc.) and improves video source handling.
2026-06-15 06:18:01 +02:00
14986260f0 Feature: Add full video support to library management
Integrates video processing into the local RAG system, allowing users to ingest videos via URL.

This includes:
- Updating content type handling for 'video' across item signatures and content extraction.
- Implementing video ingestion logic within the website creation endpoint.
- Adding a dedicated endpoint to refresh and update metadata for existing video items.
2026-06-15 06:13:46 +02:00
bb2e0c08e2 Feat(video): Implement full video ingestion pipeline using yt-dlp, Whisper transcription, and LLM summarization; updates Ollama client to support options. 2026-06-15 06:13:06 +02:00
88c4a5b0d4 Feat: Add automatic deep enrichment feature
Implements logic and UI for automatically queuing deep enrichment (Q&A generation) after content indexing, updating settings across backend, frontend, and desktop layers.
2026-06-15 04:41:31 +02:00
36b6b84129 Fix KMP duplicate lib error on macOS for dependencies (PyTorch/FAISS) 2026-06-15 04:07:37 +02:00
d0e5c9300c Feature: Add full support for handling, indexing, and saving chat message content to the knowledge base. 2026-06-15 03:51:56 +02:00
c4956fa69e Introduce metadata versioning and upgrade logic for local library reading 2026-06-15 02:43:17 +02:00
bfb7f870c6 Feat: Add and integrate enrichment model support across backend and frontend 2026-06-15 02:42:18 +02:00
26ef19f4c6 Clear query locks during library purge and deletion 2026-06-15 02:18:13 +02:00
730c6be2cb Implement query locking for local RAG context retrieval 2026-06-15 02:16:07 +02:00
7b42e25135 Enhance RAG corpus enrichment: Update prompt version, improve response validation, increase token limits, and refactor data normalization logic. 2026-06-15 02:11:20 +02:00
74958a5336 Improve metadata status tracking and failure handling in local RAG pipeline 2026-06-15 02:08:36 +02:00
32112ddbb6 Only mark text as short if QA enrichment is disabled 2026-06-15 02:08:36 +02:00
d98bd71a5d Refactor RAG payload generation to use explicit metadata tracking and initialize metadata status in library functions 2026-06-15 02:04:03 +02:00