jtlevine Claude Opus 4.6 (1M context) commited on
Commit
8ea1ecd
·
1 Parent(s): 2a03552

Default to rule-based healing (free) instead of Claude ($3/run)

Browse files

Claude healing is expensive for weekly runs. Rule-based fallback does
the same validation (range checks, gap filling) without API costs.
Claude healing remains available when explicitly enabled.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Files changed (1) hide show
  1. src/api.py +1 -1
src/api.py CHANGED
@@ -817,7 +817,7 @@ async def _run_pipeline_async():
817
  None,
818
  lambda: run_pipeline_sync(
819
  days_back=90,
820
- use_claude_healer=bool(os.environ.get("ANTHROPIC_API_KEY")),
821
  use_claude_explainer=bool(os.environ.get("ANTHROPIC_API_KEY")),
822
  delivery_channel="console",
823
  db=db if db.is_postgres else None,
 
817
  None,
818
  lambda: run_pipeline_sync(
819
  days_back=90,
820
+ use_claude_healer=False, # Rule-based by default; Claude healing costs ~$3/run
821
  use_claude_explainer=bool(os.environ.get("ANTHROPIC_API_KEY")),
822
  delivery_channel="console",
823
  db=db if db.is_postgres else None,