Powered by
🟡 Setting up BAML in Cursor environment issues
# questions
m
mrr_rosie_63776
09/11/2025, 1:17 AM
I'm setting up BAML in Cursor. Has anyone else had issues with it not recognizing or getting env vars?
b
baml-sam
09/11/2025, 1:19 AM
There's a menu in the top right of the playground to enter env vars, it doesn't have logic to load them from
.env
, if that's what you're getting tripped up by
baml-sam
09/11/2025, 1:19 AM
If you're dealing with a different issue, can I ask what it is?
m
mrr_rosie_63776
09/11/2025, 1:21 AM
yes loaded them in that way but it kept getting reset
b
baml-sam
09/11/2025, 1:22 AM
https://cdn.discordapp.com/attachments/1415506596901027851/1415507762804424704/image.png?ex=68c375d5&is=68c22455&hm=e374d7dc8a20aea241b176c41d5f059460d0a931e9a82ff218b416f2f0156c60&
baml-sam
09/11/2025, 1:22 AM
That's definitely weird - reset when you close/reopen the window, or when? Do you know what extension version you're on? It'll be in the right sidebar of the extension details view
m
mrr_rosie_63776
09/11/2025, 5:11 AM
yup that did it!
Previous
Next