https://www.boundaryml.com logo
Error generating
# help
l
Any idea what causes an issue like this? baml-cli generate Generating clients with CLI version: 0.211.2 thread '' panicked at baml-lib/ast/src/parser/parse_value_expression_block.rs:136:30: internal error: entered unreachable code: Encountered impossible model during parsing: stmt [Start { rule: stmt, pos: Position { pos: 16587 } }, Start { rule: expr_block, pos: Position { pos: 16587 } }, Start { rule: BLOCK_OPEN, pos: Position { pos: 16587 } }, End { rule: BLOCK_OPEN, pos: Position { pos: 16588 } }, Start { rule: expression, pos: Position { pos: 16588 } }, Start { rule: primary_expression, pos: Position { pos: 16588 } }, Start { rule: map_expression, pos: Position { pos: 16588 } }, Start { rule: expr_map_entry, pos: Position { pos: 16590 } }, Start { rule: expression, pos: Positi
v
That seems like an edge case in our syntax parser! Does it dump anything about which of your baml files it is? Also 16590? That’s a big baml file 🤣
Otherwise will try and repro myself
l
Wish I had the rest of the logs. Started a new session without issue aside from compatibility which I fixed, so might be related. My prompt is actually not this large, ends at 452 lines and I have another at 125.