general rules should apply to whole project (#159)

* general rules should apply to whole project

* Merge remote-tracking branch 'origin/main' into fix_eslint

* lint fixes under server package
This commit is contained in:
Olcan
2025-04-24 15:42:18 -07:00
committed by GitHub
parent 0510d06ecf
commit 133f39494e
4 changed files with 6 additions and 9 deletions

View File

@@ -68,7 +68,7 @@ export class GeminiClient {
config: {
systemInstruction: getCoreSystemPrompt(),
...this.generateContentConfig,
tools: tools,
tools,
},
history: [
{
@@ -111,7 +111,7 @@ export class GeminiClient {
// What do we do when we have both function responses and confirmations?
const fnResponses = turn.getFunctionResponses();
if (fnResponses.length == 0) {
if (fnResponses.length === 0) {
break; // user's turn to respond
}
request = fnResponses;