https://www.boundaryml.com logo
🟡 Inquiry about BAML readiness with GPT-5
# questions
r
is baml ready to work and use
gpt5
? i know it may not be worth ... but still?
v
Yep! We just construct the http request. So if the api accepts so do we!
r
getting incorrect api key provided but this python works just fine.
never mind - problem on my end - please ignore
@Vaibhav (BAML 🐑) - oops sorry to bug you again - the key that i have is both
gpt4
and
gtp5
- but still failes with
401
in my
clients.baml
I have added thisL
Copy code
client<llm> CustomGPT5 {
  provider openai
  options{
    model "gpt-5"
    api_key env.OPENAI_API_KEY
   }
}
setting api-key inside the extension worked ... i thought it should also work from the
os env
... guess not yet ...
v
hmm, it should really work w/o much setup... you may need to use
openai-responses
provider
what version of
baml-py
are you using?
r
204
a
can you try this:
Copy code
client<llm> MyClientWithoutStreaming {
    provider openai
    options {
      model gpt-4o
      api_key env.OPENAI_API_KEY
      supports_streaming false 
    }
  }
the key is
supports_streaming
my bad, wrong thread