const.py 352 B

12345678910111213141516
  1. """Project-wide constants and default locations."""
  2. from __future__ import annotations
  3. from pathlib import Path
  4. APP_DIR = Path(__file__).resolve().parent
  5. ROOT_DIR = APP_DIR.parent
  6. CONFIG_DIR = ROOT_DIR / "config"
  7. PROMPT_DIR = ROOT_DIR / "prompts"
  8. DATA_DIR = ROOT_DIR / "data"
  9. LOG_ROOT = APP_DIR / "log"
  10. # Business constants
  11. MAX_INPUT_CARD_IDS = 3