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

Method setShouldFail

tests/utils/mock_anthropic_client.cpp:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void ControllableAnthropicClient::setShouldFail(bool fail) {
30 should_fail_ = fail;
31}
32
33void ControllableAnthropicClient::setShouldTimeout(bool timeout) {
34 should_timeout_ = timeout;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected