Skip to content

Commit 9ee100f

Browse files
committed
fix pr comments
1 parent ef4e5c4 commit 9ee100f

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

packages/firebase_ai/firebase_ai/lib/src/server_template/template_generative_model.dart

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -93,32 +93,9 @@ final class TemplateGenerativeModel extends BaseTemplateApiClientModel {
9393
null,
9494
_serializationStrategy.parseGenerateContentResponse);
9595
}
96-
97-
/// Generates content from a template with the given [templateId], [inputs] and
98-
/// [history].
99-
@experimental
100-
Future<GenerateContentResponse> templateGenerateContentWithHistory(
101-
Iterable<Content> history, String templateId,
102-
{required Map<String, Object?> inputs}) =>
103-
makeTemplateRequest(TemplateTask.templateGenerateContent, templateId,
104-
inputs, history, _serializationStrategy.parseGenerateContentResponse);
105-
106-
/// Generates a stream of content from a template with the given [templateId],
107-
/// [inputs] and [history].
108-
@experimental
109-
Stream<GenerateContentResponse> templateGenerateContentWithHistoryStream(
110-
Iterable<Content> history, String templateId,
111-
{required Map<String, Object?> inputs}) {
112-
return streamTemplateRequest(
113-
TemplateTask.templateStreamGenerateContent,
114-
templateId,
115-
inputs,
116-
history,
117-
_serializationStrategy.parseGenerateContentResponse);
118-
}
11996
}
12097

121-
/// Returns a [TemplateGenerativeModel] using it's private constructor.
98+
/// Returns a [TemplateGenerativeModel] using its private constructor.
12299
@experimental
123100
TemplateGenerativeModel createTemplateGenerativeModel({
124101
required FirebaseApp app,

0 commit comments

Comments
 (0)