Skip to content

Commit

Permalink
fix latency_ms units error
Browse files Browse the repository at this point in the history
  • Loading branch information
imalsogreg committed Nov 22, 2024
1 parent ae713eb commit bb00166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/baml-runtime/src/constraints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ fn step_constraints(
("result", minijinja::Value::from_serialize(value)),
(
"latency_ms",
minijinja::Value::from_serialize(response.latency.as_secs_f32()),
minijinja::Value::from_serialize(response.latency.as_millis()),
),
(
"checks",
Expand Down

0 comments on commit bb00166

Please sign in to comment.