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

Method createAdvancedAnthropicOptions

tests/utils/test_fixtures.cpp:109–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109GenerateOptions AnthropicTestFixture::createAdvancedAnthropicOptions() {
110 GenerateOptions options(kTestAnthropicModel, "System prompt", kTestPrompt);
111 options.temperature = 0.7;
112 options.max_tokens = 100;
113 options.top_p = 0.9;
114 // Note: top_k not available in current GenerateOptions
115 return options;
116}
117
118nlohmann::json AnthropicTestFixture::createValidAnthropicResponse() {
119 return nlohmann::json{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected