refactor(agent-office): tarot 모듈 제거 (tarot-lab으로 cutover 완료)
- DELETE: app/tarot/ 디렉토리 (pipeline, prompt, schema 모듈) - DELETE: app/routers/tarot.py (FastAPI 라우터) - DELETE: 4개 tarot 테스트 파일 (test_tarot_*.py) - MODIFY: app/main.py — tarot 라우터 import + register 제거 - MODIFY: app/models.py — 5개 Tarot* 클래스 제거 - MODIFY: app/config.py — 4개 TAROT_* 환경변수 제거 - MODIFY: app/db.py — 6개 tarot_readings CRUD 함수 제거 KEEP: - tarot_readings CREATE TABLE 블록 (DB 호환성) - CREATE INDEX ... tarot_readings 인덱스 2개 - scripts/migrate_tarot_to_lab.py (cutover 마이그레이션) - tests/test_migrate_tarot.py (마이그레이션 테스트) 테스트: 88 pass (migrate_tarot tests 포함) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -12,11 +12,9 @@ from .agents import init_agents, get_agent, get_all_agent_states, AGENT_REGISTRY
|
||||
from .scheduler import init_scheduler
|
||||
from . import telegram_bot
|
||||
from .routers import notify as notify_router
|
||||
from .routers import tarot as tarot_router
|
||||
|
||||
app = FastAPI()
|
||||
app.include_router(notify_router.router)
|
||||
app.include_router(tarot_router.router)
|
||||
|
||||
_cors_origins = CORS_ALLOW_ORIGINS.split(",")
|
||||
app.add_middleware(
|
||||
|
||||
Reference in New Issue
Block a user