https://www.boundaryml.com logo
baml client generate issue in verecel
# help
v
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&
Currently, Vercel does not officially support the uv package manager
I ultimately used the bun package manager to generate the python baml_client, avoiding manipulation in vercel.json.
v
thats unfortunate, I'll have to see how vercel and python ply together