MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / importFresh

Function importFresh

sdk/src/impl/__tests__/model-provider-free-mode.test.ts:34–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 })
33
34 async function importFresh() {
35 const mod = await import('../model-provider')
36 // Ensure clean rate-limit state
37 mod.resetChatGptOAuthRateLimit()
38 return mod
39 }
40
41 test('throws when ChatGPT OAuth is rate-limited in free mode', async () => {
42 const { getModelForRequest, markChatGptOAuthRateLimited } =

Calls

no outgoing calls

Tested by

no test coverage detected