Skip to content

feat: default realtime signaling host to api.decart.ai - #16

Merged
AdirAmsalem merged 1 commit into
mainfrom
conductor/api-2128-api3-api-decart-cpp
Oct 14, 2026
Merged

AdirAmsalem merged 1 commit into
mainfrom
conductor/api-2128-api3-api-decart-cpp

Conversation

@AdirAmsalem

@AdirAmsalem AdirAmsalem commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The realtime WebSocket endpoint is served from api.decart.ai, the same host as the REST API, so the SDK no longer needs a separate default hostname for it.

  • ClientOptions::realtimeBaseUrl now defaults to wss://api.decart.ai (was wss://api3.decart.ai) in src/client.cpp; the option still overrides the default.
  • Doc comments in include/decart/client.h, src/detail/client_config.h, src/detail/signaling_channel.h, the README configuration example and the tests/test_stream_url.cpp fixtures are updated to match.
  • api3.decart.ai keeps working for clients that set it explicitly. No version bump, tag or release in this PR.

Verification

  • clang-format --dry-run --Werror on the touched sources passes.
  • Unit tests (-DDECART_BUILD_REALTIME=OFF build): 19 test cases, 102 assertions, all passing.

api.decart.ai is now a direct Route53 geolocation record identical to
api3.decart.ai (no CloudFront in front), so the realtime WebSocket no
longer needs a separate hostname. Make wss://api.decart.ai the default
for ClientOptions::realtimeBaseUrl and update the docs and the
stream-URL test fixtures that pin that default.

api3.decart.ai keeps working and ClientOptions::realtimeBaseUrl remains
overridable exactly as before. The per-data-center names
(us-west/us-east/asia.api3.decart.ai) are untouched.

Part of https://linear.app/decart/issue/API-2128
@AdirAmsalem
AdirAmsalem merged commit 2e0f81f into main Oct 14, 2026
4 checks passed
@AdirAmsalem
AdirAmsalem deleted the conductor/api-2128-api3-api-decart-cpp branch October 14, 2026 08:54
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.

2 participants