Skip to main content

Module shared

Module shared 

Source
Expand description

Formatting helpers shared across the infra logs subcommands.

Re-exports the timestamp/duration formatters from systemprompt_models and provides display_log_row and cost_microdollars_to_dollars used by the view, search, and trace renderers.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Functions§

cost_microdollars_to_dollars
display_log_row
format_optional_duration_ms
format_timestamp