This commit is contained in:
@@ -9,7 +9,7 @@ warnings.filterwarnings("ignore", category=DeprecationWarning, module="websocket
|
||||
warnings.filterwarnings("ignore", category=DeprecationWarning, module="uvicorn.protocols.websockets")
|
||||
|
||||
import os
|
||||
from ..config import DB_URI, BACKEND_PORT
|
||||
from backend.app.config import DB_URI, BACKEND_PORT
|
||||
import uuid
|
||||
import json
|
||||
from contextlib import asynccontextmanager
|
||||
@@ -22,18 +22,18 @@ from pydantic import BaseModel
|
||||
from langgraph.checkpoint.postgres.aio import AsyncPostgresSaver
|
||||
from .agent.agent_service import AIAgentService, create_serde
|
||||
from .agent.history import ThreadHistoryService
|
||||
from ..core.human_review import (
|
||||
from backend.app.core.human_review import (
|
||||
ReviewManager,
|
||||
InMemoryReviewStore,
|
||||
ReviewStatus,
|
||||
HumanReview
|
||||
)
|
||||
from ..subgraphs.contact.api_client import ContactAPIClient
|
||||
from ..subgraphs.dictionary.api_client import DictionaryAPIClient
|
||||
from ..subgraphs.news_analysis.api_client import NewsAPIClient
|
||||
from backend.app.subgraphs.contact.api_client import ContactAPIClient
|
||||
from backend.app.subgraphs.dictionary.api_client import DictionaryAPIClient
|
||||
from backend.app.subgraphs.news_analysis.api_client import NewsAPIClient
|
||||
from .db.init_db import init_subgraph_tables
|
||||
from .db.models import ContactRepository, DictionaryRepository, NewsRepository
|
||||
from ..logger import info, error
|
||||
from backend.app.logger import info, error
|
||||
|
||||
@asynccontextmanager
|
||||
async def lifespan(app: FastAPI):
|
||||
|
||||
Reference in New Issue
Block a user