mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-26 21:39:43 +02:00
The pull-based KB design (on-demand search_knowledge_base tool + pre-injected workspace tree) fully replaced the old eager retrieval path. Remove its last remnants: - Delete KnowledgePriorityMiddleware (knowledge_search.py) and its tests. - Drop the kb_priority state field + reducer default; trim KbContextProjectionMiddleware to project only workspace_tree_text. - Remove the now-dead feature flags enable_kb_priority_preinjection and enable_kb_planner_runnable across backend (flags, route schema, tests, env examples) and frontend (settings toggle, zod schema). - Scrub <priority_documents> and stale KnowledgePriorityMiddleware references from prompts, docstrings, and the ADR. No functional change: nothing wrote kb_priority and neither flag gated live behavior after the cutover. Full backend suite green (pre-existing unrelated failures aside). |
||
|---|---|---|
| .. | ||
| agent-actions-api.service.ts | ||
| agent-flags-api.service.ts | ||
| agent-permissions-api.service.ts | ||
| agent-tools-api.service.ts | ||
| anonymous-chat-api.service.ts | ||
| auth-api.service.ts | ||
| automations-api.service.ts | ||
| base-api.service.ts | ||
| chat-comments-api.service.ts | ||
| chat-threads-api.service.ts | ||
| connectors-api.service.ts | ||
| documents-api.service.ts | ||
| folders-api.service.ts | ||
| incentive-tasks-api.service.ts | ||
| invites-api.service.ts | ||
| logs-api.service.ts | ||
| members-api.service.ts | ||
| model-connections-api.service.ts | ||
| notes-api.service.ts | ||
| notifications-api.service.ts | ||
| pats-api.service.ts | ||
| permissions-api.service.ts | ||
| podcasts-api.service.ts | ||
| prompts-api.service.ts | ||
| public-chat-api.service.ts | ||
| roles-api.service.ts | ||
| search-spaces-api.service.ts | ||
| stripe-api.service.ts | ||
| user-api.service.ts | ||