MCPcopy Create free account
hub / github.com/TanStack/ai / llmockBase

Function llmockBase

testing/e2e/src/routes/api.summarize.ts:14–17  ·  view source on GitHub ↗
(aimockPort?: number)

Source from the content-addressed store, hash-verified

12const DUMMY_KEY = 'sk-e2e-test-dummy-key'
13
14function llmockBase(aimockPort?: number): string {
15 if (aimockPort) return `http://127.0.0.1:${aimockPort}`
16 return LLMOCK_BASE
17}
18
19function openaiUrl(aimockPort?: number): string {
20 return `${llmockBase(aimockPort)}/v1`

Callers 2

openaiUrlFunction · 0.70
createSummarizeAdapterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected