Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
32
void ControllableOpenAIClient::setShouldTimeout(bool timeout) {
33
should_timeout_ = timeout;
34
}
35
36
void ControllableOpenAIClient::reset() {
37
predefined_response_ = ResponseBuilder::buildSuccessResponse();
Callers
2
TEST_F
Function · 0.45
TEST_F
Function · 0.45
Calls
no outgoing calls
Tested by
2
TEST_F
Function · 0.36
TEST_F
Function · 0.36