SDKs
Vercel AI SDK
/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
createOpenAICompatiblewithbaseURLat/v1.- API key
apiKey: process.env.QUEBRAGALHO_API_KEY.
SDKs
/v1/chat/completions
Change the client's base URL and API key. The rest of the code stays the same.
createOpenAICompatible with baseURL at /v1.apiKey: process.env.QUEBRAGALHO_API_KEY.