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

Method setShouldTimeout

tests/utils/mock_openai_client.cpp:32–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void ControllableOpenAIClient::setShouldTimeout(bool timeout) {
33 should_timeout_ = timeout;
34}
35
36void ControllableOpenAIClient::reset() {
37 predefined_response_ = ResponseBuilder::buildSuccessResponse();

Callers 2

TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.36
TEST_FFunction · 0.36