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

Method buildPartialResponse

tests/utils/mock_anthropic_client.cpp:217–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217std::string AnthropicResponseBuilder::buildPartialResponse() {
218 return "{\"type\":\"message\",\"role\":\"assistant\",\"content\":[{\"type\":"
219 "\"text\",\"text\":\"Partial"; // Intentionally incomplete
220}
221
222std::vector<std::string> AnthropicResponseBuilder::buildStreamingResponse(
223 const std::string& content) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected