Skip to content
quebragalho/docs

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
ChatOpenAI with base_url at /v1.
API key
api_key from the QUEBRAGALHO_API_KEY variable.

Caveats

  • Drops the reasoning_content of reasoning models.