MCPcopy Create free account
hub / github.com/Noumena-Network/code / asyncModels

Function asyncModels

src/services/api/claude.verifyApiKey.test.ts:39–47  ·  view source on GitHub ↗
(models: Array<Record<string, unknown>>)

Source from the content-addressed store, hash-verified

37})
38
39function asyncModels(models: Array<Record<string, unknown>>) {
40 return {
41 async *[Symbol.asyncIterator]() {
42 for (const model of models) {
43 yield model
44 }
45 },
46 }
47}
48
49async function importVerifyApiKey(caseName: string) {
50 const module = await import(`${claudePath}?case=${caseName}`)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected