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

Method createAnthropicStreamResponse

tests/utils/test_fixtures.cpp:140–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140nlohmann::json AnthropicTestFixture::createAnthropicStreamResponse() {
141 return nlohmann::json{{"type", "content_block_delta"},
142 {"index", 0},
143 {"delta", {{"type", "text_delta"}, {"text", "Hello"}}}};
144}
145
146Messages AnthropicTestFixture::createSampleAnthropicConversation() {
147 return {createAnthropicSystemMessage("You are a helpful assistant."),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected