MCPcopy Index your code
hub / github.com/anus-dev/ANUS / apiCall

Method apiCall

packages/core/src/core/client.ts:582–595  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

580 };
581
582 const apiCall = () =>
583 this.getContentGenerator().generateContent(
584 {
585 model: modelToUse,
586 config: {
587 ...requestConfig,
588 systemInstruction,
589 responseJsonSchema: schema,
590 responseMimeType: 'application/json',
591 },
592 contents,
593 },
594 this.lastPromptId,
595 );
596
597 const result = await retryWithBackoff(apiCall, {
598 onPersistent429: async (authType?: string, error?: unknown) =>

Callers

nothing calls this directly

Calls 2

getContentGeneratorMethod · 0.95
generateContentMethod · 0.65

Tested by

no test coverage detected