MCPcopy Create free account
hub / github.com/ClickHouse/ai-sdk-cpp / buildRateLimitResponse

Method buildRateLimitResponse

tests/utils/mock_openai_client.cpp:241–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241std::string ResponseBuilder::buildRateLimitResponse() {
242 return buildErrorResponse(
243 429, "rate_limit_exceeded",
244 "Rate limit reached for requests. Please try again later.");
245}
246
247std::string ResponseBuilder::buildAuthErrorResponse() {
248 return buildErrorResponse(401, "invalid_request_error",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected