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

Method createMinimalValidResponse

tests/utils/test_fixtures.cpp:195–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195nlohmann::json TestDataGenerator::createMinimalValidResponse() {
196 return nlohmann::json{
197 {"id", "test"},
198 {"choices",
199 nlohmann::json::array({{{"message", {{"content", "Response"}}},
200 {"finish_reason", "stop"}}})}};
201}
202
203nlohmann::json TestDataGenerator::createFullValidResponse() {
204 return nlohmann::json{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected