https://www.boundaryml.com logo
After baml upgrade receiving: "No result from baml...
# help
j
I upgraded the golang baml client from 0.211.2 to 0.212.0 and in our baml call with the most input tokens I am seeing this error: "No result from baml - Please report this error to our team with BAML_LOG=info enabled so we can improve this error message" The start of the response is: Function AnswerQuery: Client: Sonnet (claude-sonnet-4-5-20250929) - 29999ms. StopReason: unknown. Tokens(in/out): 8588/2 It then lists the full input but only part of the output. After downgrading I no longer see this issue. Please advise on how to resolve this issue.
a
is there a code snippet that you have that reproduces this by any chance?
do you stream out the response? or just regular call?
and you only saw this in that one call with most input tokens right, but some other ones did succeed?
j
@aaronv (BAML) we are not using the streaming client but are using OnTick(). I only have seen this issue with the one call that has a fair number of tokens; the others succeeded fine
i'll see if i can put together a failing test case
a
CC @Vaibhav (BAML 🐑)
v
Thanks for the tag Aaron! @jgasiorek I’ll try a repro of this tonight or tmrw and share what I can find. I’ll try to make a large token query and also use ontick to mimic it!
I do have a hunch of what might be going on.
j
Thanks @Vaibhav (BAML 🐑) ! let me know if i can provide more details. Will hold off on the upgrade for now
v
This next upgrade should identify this. i could trigger it pretty easily by cancellations https://github.com/BoundaryML/baml/pull/2679
so i think it perhaps a channel gets closed?
but regardless you should get a much better error message going forward!
j
Thanks!
@Vaibhav (BAML 🐑) Do you have an indea of when the version of baml with this additional logging will be released?
v
usually we go out every week! so it should be today or tmrw
a
hey there, i will be releasing tomorrow morning, pacific time.
j
Thanks!
a
it's released now! 0.213.0
j
@aaronv (BAML) @Vaibhav (BAML 🐑) I just tested 0.213.0 but am still seeing "This should never happen - Please report this error to our team with BAML_LOG=info enabled so we can improve this error message". I set ran the app with
BAML_LOG=info go run ...
What information can i provide to help diagnose this issue?
Please let me know if you need any additional information to figure out this error. I will hold off on future baml updates until then.
a
will let you know once we investigate this further
j
@aaronv (BAML) any update on this?
v
hi @jgasiorek could you by chance DM me the function definition. Tried reproing and am not able to. Are you getting this everywhere? or just one a few of your functions?
vbv@boundaryml.com works as well. otherwise i will attempt another few ways to repro!