broken💎shaders
11/11/2025, 3:07 AMpy
type_builder {
dynamic class ExitLoop {
result int[]
}
}
Promtify to:
py
ExitLoop {
result: int[],
}
But
py
type_builder {
dynamic class ExitLoop {
result MyClass[]
}
}
Promtify to:
py
ExitLoop {
result: [
MyClass
],
}
?aaronv (BAML)
11/11/2025, 3:11 AMbroken💎shaders
11/11/2025, 3:14 AM{{ ctx.output_format(hoist_classes=true, always_hoist_enums=true) }} in my output
Minor correction, in my specific case it's actually an enum and not class, so it should be MyEnum
But same same, the enum is hoisted correctly 😆 I was just wondering if this would cause the LLM to get confused. Currently my agent that's based on GPT5 (smart boy!) is abusing one of it's other tools as the final return type instead MyEnum[] which i inject dynamically, trying to figure out what is going on so I just noticed thisaaronv (BAML)
11/11/2025, 3:17 AMbroken💎shaders
11/11/2025, 3:17 AMbroken💎shaders
11/11/2025, 3:25 AMwildmanhammer
11/11/2025, 3:22 PM