Skip to content

Commit 1e42a41

Browse files
committed
fix: update hack for detecting no tool calling
1 parent b22d1ce commit 1e42a41

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/chat/commands/searchCLs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export async function searchChromiumLog(
139139
let toolCall: vscode.LanguageModelToolCallPart | undefined;
140140

141141
if (
142-
/the next page of the ?(?:Chromium)? log|I will now ?(?:proceed to)? check page|check the next page|continue (?:analyzing|checking|searching)|continue to ?(?:the next)? page/.test(
142+
/the next page of the ?(?:Chromium)? log|I will now ?(?:proceed to)? check page|check the next page|continue (?:analyzing|checking|searching)|continue to ?(?:the next)? page|Would you like to check page/.test(
143143
responseStr,
144144
)
145145
) {

src/chat/commands/upgradesFindCL.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ export async function analyzeBuildError(
349349
let toolCall: vscode.LanguageModelToolCallPart | undefined;
350350

351351
if (
352-
/the next page of the ?(?:Chromium)? log|I will now ?(?:proceed to)? check page|check the next page|continue (?:analyzing|checking|searching)|continue to ?(?:the next)? page/.test(
352+
/the next page of the ?(?:Chromium)? log|I will now ?(?:proceed to)? check page|check the next page|continue (?:analyzing|checking|searching)|continue to ?(?:the next)? page|Would you like to check page/.test(
353353
responseStr,
354354
)
355355
) {
@@ -591,7 +591,7 @@ export async function analyzeTestError(
591591
let toolCall: vscode.LanguageModelToolCallPart | undefined;
592592

593593
if (
594-
/the next page of the ?(?:Chromium)? log|I will now ?(?:proceed to)? check page|check the next page|continue (?:analyzing|checking|searching)|continue to ?(?:the next)? page/.test(
594+
/the next page of the ?(?:Chromium)? log|I will now ?(?:proceed to)? check page|check the next page|continue (?:analyzing|checking|searching)|continue to ?(?:the next)? page|Would you like to check page/.test(
595595
responseStr,
596596
)
597597
) {

0 commit comments

Comments
 (0)