mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user