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

Method createEdgeCaseOptions

tests/utils/test_fixtures.cpp:294–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294GenerateOptions TestDataGenerator::createEdgeCaseOptions() {
295 GenerateOptions options("gpt-4o", ""); // Empty prompt
296 options.temperature = 2.0; // Maximum temperature
297 options.max_tokens = 1; // Minimum tokens
298 options.top_p = 1.0; // Maximum top_p
299 options.frequency_penalty = 2.0; // Maximum penalty
300 options.presence_penalty = -2.0; // Minimum penalty
301 return options;
302}
303
304std::string TestDataGenerator::createLargePrompt(size_t size) {
305 std::string large_prompt;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected