mirror of
https://github.com/Oathbreaker-AI/api-examples.git
synced 2026-11-30 20:13:19 -10:00
A tester's Copilot wrote a C++ client against "ai.oathbreaker", which is the MCP Registry name of the MCP server, not a host. Languages without an SDK had no example to copy the URL from. - cpp/hello.cpp: one Chat Completions request with libcurl and nlohmann/json, same behaviour as the JavaScript and Python examples (no redirects, no retries, incomplete answers are errors, key never printed). - tests/cpp: builds the example with -Wall -Wextra -Werror and runs it against a local fixture server; a separate CI job installs the libraries. - README: curl request and C++ section; the Base URL row says the host is oathbreaker.ai, with no api. subdomain, and that ai.oathbreaker/oathbreaker is a registry name. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CfDjYxQRJkxzA91xGFyjpJ