https://www.boundaryml.com logo
BAML + Jev
# general
a
i am on typesafe api already how would i be able to use official baml with it so i can benchmark it for my current prod workflows
b
# Reaching Jev Fill in one of these two blocks into `.env`:
Copy code
sh
# You have a Jev key (you are off TypeSafe's waitlist)
TYPESAFE_API_KEY=sk-...
JEV_BASE_URL=...

# ...or you don't, and you are going through Cloudflare
CLOUDFLARE_ACCOUNT_ID=...
CLOUDFLARE_API_TOKEN=...
resolveProvider()
in
provider.ts
picks whichever is present and prefers the direct key.
here's my vibe coded provider that sends a request
and in my .baml files I just have a
client: Jev
There seems to be a
baml_client/vendor/typesafeai
already in baml_client so I think my provider.ts is mostly for retries and rate limiting