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

Method buildAuthErrorResponse

tests/utils/mock_openai_client.cpp:247–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247std::string ResponseBuilder::buildAuthErrorResponse() {
248 return buildErrorResponse(401, "invalid_request_error",
249 "Incorrect API key provided");
250}
251
252std::string ResponseBuilder::buildModelNotFoundResponse() {
253 return buildErrorResponse(404, "model_not_found",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected