feat: Implement Cost Verification & Audit Engine (TASK-004) v1.3.2

This commit is contained in:
rin.kagamine committed 2026-06-26 21:16:23 -04:00
1 parent 2bd50db173
commit f42a3247dc
3 files changed
+116 -6

No files matched your search

+5
View File
@@ -62,6 +62,11 @@ Both valves are passed at runtime — no hardcoded keys. The tool is portable to
## Changelog
### v1.3.2 (2026-06-26)
- **feat:** Hardcore FinOps Audit Engine (TASK-004) — added `_audit_cost` helper and static `MODEL_PRICING` registry to verify reported spend against actual provider caching rates.
- **feat:** Real-time request cost auditing in `litellm_history` output.
- **fix:** Robust cache-extraction logic supporting nested metadata structures for Gemini/z.ai models.
### v1.2.0 (2026-06-13)
- **feat:** Natural language date shortcuts for `litellm_cost()` — `today`, `yesterday`, `monday`, `last week`, etc.
- **feat:** `hide_zero_spend` parameter for `litellm_cost()` — default True hides sub-$0.001 models with summary line; per-call parameter can override