how do yall handle code gen for deployment? does running baml-cli generate as part of the CI work?
moof_soup
08/01/2025, 9:48 PM
right now. my issue is that I am getting permissions issues with my local baml_client when trying to run baml-cli because baml_client was generated by docker in my dev environment
b
baml-sam
08/01/2025, 9:49 PM
Both approaches can work!
baml-sam
08/01/2025, 9:50 PM
The permissions thing sounds really annoying, not sure if I’ve seen that one with baml before, but it makes sense
m
moof_soup
08/01/2025, 9:51 PM
I mean the interim fix is easy:
Copy code
rm -rf baml_client
baml-cli generate
moof_soup
08/01/2025, 9:53 PM
huh wait actually the cause isn't what I thought im moving to troubleshooting