Skip to content

Commit c93bb02

Browse files
#2159 Remove unneeded console logs from gemini stream (#2160)
Co-authored-by: Marcus Schiesser <mail@marcusschiesser.de>
1 parent e9ded4e commit c93bb02

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.changeset/strong-cheetahs-mate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@llamaindex/google": patch
3+
---
4+
5+
chore: remove streaming logs

packages/providers/google/src/base.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,6 @@ export class Gemini extends ToolCallLLM<GeminiAdditionalChatOptions> {
226226
const config = this.prepareChatConfig(params);
227227
const { message, history } = await this.prepareChatContext(params.messages);
228228

229-
console.log("history", JSON.stringify(history, null, 2));
230-
console.log("message", JSON.stringify(message, null, 2));
231-
232229
const chat = this.client.chats.create({
233230
model: this.model,
234231
config,

0 commit comments

Comments
 (0)