Skip to content

feat: make CVAT host configurable - #23

Merged
FelixAbrahamsson merged 1 commit into
masterfrom
configurable-cvat-host
Jul 14, 2026
Merged

feat: make CVAT host configurable#23
FelixAbrahamsson merged 1 commit into
masterfrom
configurable-cvat-host

Conversation

@FelixAbrahamsson

Copy link
Copy Markdown
Contributor

Add a host field to Client (default https://app.cvat.ai), configurable via the CVAT_HOST env var / .env.cvat.secrets or the host= argument. A validator normalizes bare hosts to https:// and strips trailing slashes.

Passing an explicit scheme lets the CVAT SDK skip its HTTPS/HTTP auto-detection, which intermittently times out and raises InvalidHostException when the server is slow to answer /api/server/about.

Supports the migration to the self-hosted server at cvat.nextml.com.

Add a `host` field to `Client` (default https://app.cvat.ai), configurable
via the `CVAT_HOST` env var / `.env.cvat.secrets` or the `host=` argument.
A validator normalizes bare hosts to `https://` and strips trailing slashes.

Passing an explicit scheme lets the CVAT SDK skip its HTTPS/HTTP
auto-detection, which intermittently times out and raises
InvalidHostException when the server is slow to answer /api/server/about.

Supports the migration to the self-hosted server at cvat.nextml.com.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@FelixAbrahamsson
FelixAbrahamsson merged commit 62cc3f7 into master Jul 14, 2026
1 check passed
@FelixAbrahamsson
FelixAbrahamsson deleted the configurable-cvat-host branch July 14, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant