MCPcopy
hub / github.com/futantan/OpenGpt / runOutOfRatelimit

Function runOutOfRatelimit

src/middleware.ts:60–65  ·  view source on GitHub ↗
(errorCode: number)

Source from the content-addressed store, hash-verified

58}
59
60function runOutOfRatelimit(errorCode: number) {
61 return new NextResponse(JSON.stringify({ success: false, message: '' }), {
62 status: errorCode,
63 headers: { 'content-type': 'application/json' },
64 })
65}

Callers 1

middlewareFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected