()
| 36 | } |
| 37 | |
| 38 | function makeHookOutput() { |
| 39 | return { temperature: 0, topP: 1, topK: 0, maxOutputTokens: 32_000 as number | undefined, options: {} } |
| 40 | } |
| 41 | |
| 42 | test("omits maxOutputTokens for openai reasoning models on cloudflare-ai-gateway", async () => { |
| 43 | const hooks = await CloudflareAIGatewayAuthPlugin(pluginInput) |