From b26d9bdcaee9a8d97922921bb244ac9a9ac3fd91 Mon Sep 17 00:00:00 2001 From: iyashjayesh Date: Mon, 19 Oct 2026 12:06:00 +0530 Subject: [PATCH] docs: stop documenting the API base URL The SDK has the production host built in, and it is not meant to be changed by users, so the docs no longer show baseURL / FINESSE_BASE_URL or the host itself. The option stays in code for tests. --- README.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/README.md b/README.md index 23069b3..48d9d2c 100644 --- a/README.md +++ b/README.md @@ -499,22 +499,12 @@ const quick = client.withOptions({ timeout: 10_000, maxRetries: 0 }); await quick.voices.get(voiceId); ``` -### Environments - -The client talks to production by default. Point it elsewhere with `baseURL` or -`FINESSE_BASE_URL`: - -```ts -const client = new Finesse({ baseURL: "https://finesse-proxy.example.com" }); -``` - ### Configuration | Option | Environment variable | Default | | ------------------------- | -------------------- | ------------------------------------- | | `apiKey` | `FINESSE_API_KEY` | required, unless `accessToken` | | `accessToken` | | none (a short-lived `fin_tok_` token) | -| `baseURL` | `FINESSE_BASE_URL` | `https://fi.production.flamapis.com` | | `timeout` | | 120 000 ms | | `maxRetries` | | 2 | | `defaultHeaders` | | none |