Skip to main content

Module savings

Module savings 

Source
Expand description

Daemon-based savings tracking for gcode.

Reports token savings to the Gobby daemon via HTTP POST when gcode returns compact symbol/outline data instead of full file contents.

Functions§

report_savings
Report a savings event to the Gobby daemon via HTTP POST.
resolve_daemon_url
Resolve the daemon URL from config or environment.
savings_pct
Calculate savings percentage.