MCPcopy Create free account
hub / github.com/anomalyco/opencode / makeHookOutput

Function makeHookOutput

packages/opencode/test/plugin/cloudflare.test.ts:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

cloudflare.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected