gateway/modules/serviceCenter/services/serviceAgent
Ida a7f4055130 fix(rag): preserve per-page granularity + remove on-demand extraction fallbacks
The default MergeStrategy concatenates every extracted text part into a
single ContentPart, collapsing a 500-page PDF into one chunk with a
blurred average embedding — RAG retrieval was effectively broken.

- ExtractionOptions.mergeStrategy is now Optional[MergeStrategy]; passing
  None preserves per-part granularity. Default factory kept for
  backward compatibility.
- routeDataFiles._autoIndexFile, _workspaceTools.readFile, and
  _documentTools.describeImage explicitly pass mergeStrategy=None.
- Agent tools no longer carry redundant extraction + requestIngestion
  fallback paths: the unified ingestion lane owns all corpus writes,
  and readFile/describeImage are pure consumers of the knowledge store.
- Unit test asserts runExtraction(mergeStrategy=None) keeps every part.
2026-04-29 14:39:40 +02:00
..
coreTools fix(rag): preserve per-page granularity + remove on-demand extraction fallbacks 2026-04-29 14:39:40 +02:00
__init__.py new ai agent 2026-03-15 23:38:21 +01:00
actionToolAdapter.py fixes ai agents parameter flow 2026-04-28 11:58:53 +02:00
agentLoop.py fixed trustee 2026-04-26 23:59:09 +02:00
conversationManager.py wired infomaniac to ai adapters and tools 2026-04-29 01:52:47 +02:00
datamodelAgent.py fixed integration graph editor ai 2026-04-19 01:22:33 +02:00
featureDataAgent.py trustee agent fix 2026-04-27 08:07:37 +02:00
featureDataProvider.py feat db-clean-ui and unified content udm 2026-04-16 23:13:05 +02:00
mainServiceAgent.py wired infomaniac to ai adapters and tools 2026-04-29 01:52:47 +02:00
sandboxExecutor.py fixed tool execute subprocess 2026-04-01 22:16:08 +02:00
toolboxRegistry.py fixes udb, outlook, workflow 2026-04-21 23:49:46 +02:00
toolRegistry.py fixed voice feat commcoach 2026-04-01 21:59:28 +02:00
workflowTools.py teamsbot 2026-04-25 01:13:01 +02:00