Environment Variables
To set a value to an environment variable, use the following syntax:
Environment variables with spaces in their names are not supported.
Example
Using an environment variable for API key:
Setting Environment Variables
To set environment variables:
Error Handling
Errors for unset environment variables are only thrown when the variable is accessed. If your BAML project has 15 environment variables and 1 is used for the function you are calling, only that one environment variable will be checked for existence.