MCPcopy Create free account
hub / github.com/anus-dev/ANUS / generateContent

Method generateContent

packages/core/src/code_assist/server.ts:76–91  ·  view source on GitHub ↗
(
    req: GenerateContentParameters,
    userPromptId: string,
  )

Source from the content-addressed store, hash-verified

74 }
75
76 async generateContent(
77 req: GenerateContentParameters,
78 userPromptId: string,
79 ): Promise<GenerateContentResponse> {
80 const resp = await this.requestPost<CaGenerateContentResponse>(
81 'generateContent',
82 toGenerateContentRequest(
83 req,
84 userPromptId,
85 this.projectId,
86 this.sessionId,
87 ),
88 req.config?.abortSignal,
89 );
90 return fromGenerateContentResponse(resp);
91 }
92
93 async onboardUser(
94 req: OnboardUserRequest,

Callers

nothing calls this directly

Calls 2

toGenerateContentRequestFunction · 0.85

Tested by

no test coverage detected