https://www.boundaryml.com logo
🟡 Program crashes using BoundaryML collector timi...
# questions
a
I'm using the references from this page, https://docs.boundaryml.com/guide/baml-advanced/collector-track-tokens, to get the timing stats. However, when I try to get the duration (
print(collector.last.timing.duration_ms)
) the program crashes:
return typing.cast(types.Resume, result.cast_to(types, types, stream_types, False, __runtime__)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ baml_py.internal_monkeypatch.BamlValidationError: BamlValidationError(message=Failed to parse LLM response: Failed to coerce value: : Failed while parsing required fields: missing=2, unparsed=0
I'm using baml version 0.208.5
b
Looking...
Oh, I wonder if this is working as intended in the current design, since
last: FunctionLog | null
That's annoying