MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / submitFeedback

Method submitFeedback

packages/oauth/src/toolkit.ts:303–316  ·  view source on GitHub ↗
(
    body: SubmitFeedbackBody,
    providerName?: string | undefined,
    options: {
      readonly oauthRef?: KimiOAuthTokenRef | undefined;
      readonly baseUrl?: string | undefined;
    } = {},
  )

Source from the content-addressed store, hash-verified

301 }
302
303 async submitFeedback(
304 body: SubmitFeedbackBody,
305 providerName?: string | undefined,
306 options: {
307 readonly oauthRef?: KimiOAuthTokenRef | undefined;
308 readonly baseUrl?: string | undefined;
309 } = {},
310 ): Promise<FetchSubmitFeedbackResult> {
311 return this.withAccessToken(
312 providerName,
313 options,
314 (accessToken) => fetchSubmitFeedback(managedFeedbackUrl(options.baseUrl), accessToken, body),
315 );
316 }
317
318 private async withAccessToken<T>(
319 providerName: string | undefined,

Callers

nothing calls this directly

Calls 3

withAccessTokenMethod · 0.95
fetchSubmitFeedbackFunction · 0.90
managedFeedbackUrlFunction · 0.85

Tested by

no test coverage detected