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:
@@ -38,9 +38,3 @@ LOTTO_DIGEST_HOUR = int(os.getenv("LOTTO_DIGEST_HOUR", "9"))
|
||||
LOTTO_DIGEST_MIN = int(os.getenv("LOTTO_DIGEST_MIN", "25"))
|
||||
LOTTO_THROTTLE_HOURS = int(os.getenv("LOTTO_THROTTLE_HOURS", "6"))
|
||||
LOTTO_URGENT_DAILY_MAX = int(os.getenv("LOTTO_URGENT_DAILY_MAX", "3"))
|
||||
|
||||
# Tarot Lab
|
||||
TAROT_MODEL = os.getenv("TAROT_MODEL", "claude-sonnet-4-6")
|
||||
TAROT_COST_INPUT_PER_M = float(os.getenv("TAROT_COST_INPUT_PER_M", "3.0"))
|
||||
TAROT_COST_OUTPUT_PER_M = float(os.getenv("TAROT_COST_OUTPUT_PER_M", "15.0"))
|
||||
TAROT_TIMEOUT_SEC = int(os.getenv("TAROT_TIMEOUT_SEC", "60"))
|
||||
|
||||
Reference in New Issue
Block a user