refactor(agents): move utils + document_xml to app/agents/shared (slice 5a)

Two pure leaf modules with no intra-new_chat deps and no frozen importer.
Moving them now (before the middleware package) pre-empts two shared->new_chat
back-edges that the middleware move would otherwise create
(knowledge_search->utils, kb_postgres_backend->document_xml).
This commit is contained in:
CREDO23 2026-06-04 12:50:38 +02:00
parent 946f8a8c5d
commit dcdf8f776b
6 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ import json
import pytest
from langchain_core.messages import AIMessage, HumanMessage
from app.agents.new_chat.document_xml import build_document_xml as _build_document_xml
from app.agents.shared.document_xml import build_document_xml as _build_document_xml
from app.agents.new_chat.middleware.knowledge_search import (
KBSearchPlan,
KnowledgeBaseSearchMiddleware,