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

Method is_valid

tests/utils/mock_openai_client.cpp:106–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106bool ControllableOpenAIClient::is_valid() const {
107 return !should_fail_;
108}
109
110std::string ControllableOpenAIClient::provider_name() const {
111 return "openai-test";

Callers 9

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_PFunction · 0.45

Calls

no outgoing calls

Tested by 9

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_PFunction · 0.36