MCPcopy
hub / github.com/CodebuffAI/codebuff / makeReq

Function makeReq

web/src/server/__tests__/free-mode-country.test.ts:14–18  ·  view source on GitHub ↗
(headers: Record<string, string> = {})

Source from the content-addressed store, hash-verified

12} from '../free-mode-country'
13
14function makeReq(headers: Record<string, string> = {}): NextRequest {
15 return new NextRequest('http://localhost:3000/api/v1/chat/completions', {
16 headers,
17 })
18}
19
20const noAnonymousNetwork = {
21 ipinfoToken: 'test-token',

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected