refactor: Move utility services to a dedicated 'services' module

- Updated import paths for LLM, connector, query, and streaming services to reflect their new location in the 'services' module.
- Removed obsolete utility service files that have been migrated.
This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-07-06 17:51:24 -07:00
parent 59cab99737
commit 5045b7433a
14 changed files with 14 additions and 13 deletions

View file

@ -2,7 +2,7 @@ import asyncio
import json
from typing import Any, Dict, List
from app.utils.connector_service import ConnectorService
from app.services.connector_service import ConnectorService
from langchain_core.messages import HumanMessage, SystemMessage
from langchain_core.runnables import RunnableConfig
@ -16,7 +16,7 @@ from .sub_section_writer.configuration import SubSectionType
from .qna_agent.graph import graph as qna_agent_graph
from .utils import AnswerOutline, get_connector_emoji, get_connector_friendly_name
from app.utils.query_service import QueryService
from app.services.query_service import QueryService
from langgraph.types import StreamWriter
@ -262,7 +262,7 @@ async def write_answer_outline(state: State, config: RunnableConfig, writer: Str
Returns:
Dict containing the answer outline in the "answer_outline" key for state update.
"""
from app.utils.llm_service import get_user_strategic_llm
from app.services.llm_service import get_user_strategic_llm
from app.db import get_async_session
streaming_service = state.streaming_service