SDKs
LangChain
/v1/chat/completions
Change the client's base URL and API key. The rest of the code stays the same.
In your code
- Where to configure
ChatOpenAIwithbase_urlat/v1.- API key
api_keyfrom theQUEBRAGALHO_API_KEYvariable.
Caveats
- Drops the
reasoning_contentof reasoning models.