- Add `would_exceed_budget(float)` to pre-check budget before API calls - Add `log_image_generation()` for image pipeline cost logging - Guard Logger::log() against null $wpdb in unit test environments - Both methods called by image pipeline (commit 1b) but were missing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9.9 KiB
Executable File
9.9 KiB
Executable File