mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-27 01:19:25 +08:00
feat(panel): detect and price built-in AI image generation steps
- Decode SQLite step_payload 140.2.6 (GenerateImage) and inspect 32KB PNG/JPEG/WebP headers across SQLite and ConnectRPC trajectories, auto-upgrading cached image-generator subagent entries - Map Gemini 3.1 Flash Image, 3 Pro Image, and 2.5 Flash Image resolution tiers (0.5K/1K/2K/4K) and reference image inputs to Google AI Studio token counts and dedicated imageOutput rates - Surface generate_image steps with true startedAt-to-completedAt duration and localized live activity labels while isolating text LLM TPS, TTFT, context window gauges, compaction inference, and exported report averages
This commit is contained in:
@@ -348,6 +348,7 @@ function accumulateStepIntoModelMap(perModelStats, st, mInfo, stepCost) {
|
||||
accumulateSpeed(agg.speedAccumulator, st);
|
||||
if (
|
||||
!st.isCompactionStep &&
|
||||
!st.isImageGenStep &&
|
||||
st.measurementVersion === MEASUREMENT_VERSION &&
|
||||
st.isComplete &&
|
||||
Number.isFinite(st.totalDurationSec) &&
|
||||
|
||||
Reference in New Issue
Block a user