Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
MoePotatoChan committed Jan 14, 2025
1 parent b7ea04f commit b5622ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/client/platforms/google.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ export class GeminiProApi implements LLMApi {
};
const requestPayload = {
contents: messages,
tools: [{
"googleSearch": {}
}],
generationConfig: {
// stopSequences: [
// "Title"
Expand Down Expand Up @@ -171,7 +174,7 @@ export class GeminiProApi implements LLMApi {
threshold: accessStore.googleSafetySettings,
},
],
tools: [{"googleSearch":{}}],

};

let shouldStream = !!options.config.stream;
Expand Down

0 comments on commit b5622ef

Please sign in to comment.