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

Method SetUp

tests/unit/openai_embeddings_test.cpp:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16class OpenAIEmbeddingsTest : public OpenAITestFixture {
17 protected:
18 void SetUp() override {
19 OpenAITestFixture::SetUp();
20 client_ =
21 std::make_unique<ai::openai::OpenAIClient>(kTestApiKey, kTestBaseUrl);
22 }
23
24 void TearDown() override {
25 client_.reset();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected