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

Method reset

tests/utils/mock_anthropic_client.cpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void ControllableAnthropicClient::reset() {
38 predefined_response_ = AnthropicResponseBuilder::buildSuccessResponse();
39 predefined_status_code_ = 200;
40 should_fail_ = false;
41 should_timeout_ = false;
42 call_count_ = 0;
43}
44
45GenerateResult ControllableAnthropicClient::generate_text(
46 const GenerateOptions& options) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected