fix(api): correct import paths in memory_read and celery task command

- Fix relative imports in memory_read.py to use absolute app paths
- Change celery scheduler command from `python app/celery_task_scheduler.py` to `python -m app.celery_task_scheduler`
This commit is contained in:
Eternity
2026-04-24 19:09:18 +08:00
parent 8dee2eae6a
commit 422af69904
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
import re
from typing import Any
from app.celery_task_scheduler import scheduler
from app.core.memory.enums import SearchStrategy
from app.core.memory.memory_service import MemoryService
from app.core.workflow.engine.state_manager import WorkflowState
@@ -11,7 +12,6 @@ from app.core.workflow.variable.base_variable import VariableType
from app.core.workflow.variable.variable_objects import FileVariable, ArrayVariable
from app.db import get_db_read
from app.schemas import FileInput
from celery_task_scheduler import scheduler
class MemoryReadNode(BaseNode):