Powered by
baml client generate issue in verecel
# help
v
veth0119
08/19/2025, 8:01 AM
Has anyone ever tried deploying a Python FASTAPI project on Vercel? How did you handle the generation of baml_client { "functions": { "api/**/*.py": { "memory": 3009, "maxDuration": 300 } }, "buildCommand": "python3 -m baml-cli generate --from ./baml_src", "outputDirectory": "public", "rewrites": [ { "source": "/(.*)", "destination": "/api/main" } ] }
https://cdn.discordapp.com/attachments/1407273329001238598/1407273329609543760/message.txt?ex=68a580eb&is=68a42f6b&hm=1689fb26ccdffdc42b6c67d8464ab9bab85479a1ac768e082ec0e1a3a442faf7&
veth0119
08/19/2025, 8:04 AM
Currently, Vercel does not officially support the uv package manager
veth0119
08/20/2025, 1:19 AM
I ultimately used the bun package manager to generate the python baml_client, avoiding manipulation in vercel.json.
v
Vaibhav (BAML 🐑)
08/21/2025, 3:01 PM
thats unfortunate, I'll have to see how vercel and python ply together
Previous
Next