Skip to content

Commit 76c82e5

Browse files
committed
remove useless comment
1 parent 3053351 commit 76c82e5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

common/api-review/ai.api.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,8 +1338,7 @@ export class TemplateGenerativeModel {
13381338
constructor(ai: AI, requestOptions?: RequestOptions);
13391339
// @internal (undocumented)
13401340
_apiSettings: ApiSettings;
1341-
generateContent(templateId: string, templateVariables: object, // anything!
1342-
singleRequestOptions?: SingleRequestOptions): Promise<GenerateContentResult>;
1341+
generateContent(templateId: string, templateVariables: object, singleRequestOptions?: SingleRequestOptions): Promise<GenerateContentResult>;
13431342
generateContentStream(templateId: string, templateVariables: object, singleRequestOptions?: SingleRequestOptions): Promise<GenerateContentStreamResult>;
13441343
requestOptions?: RequestOptions;
13451344
}

packages/ai/src/models/template-generative-model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export class TemplateGenerativeModel {
6666
*/
6767
async generateContent(
6868
templateId: string,
69-
templateVariables: object, // anything!
69+
templateVariables: object,
7070
singleRequestOptions?: SingleRequestOptions
7171
): Promise<GenerateContentResult> {
7272
return templateGenerateContent(

0 commit comments

Comments
 (0)