Skip to content

Commit b0d4898

Browse files
committed
Fix base case
1 parent b5432a8 commit b0d4898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/deep-research/DeepResearchService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export class DeepResearchService {
235235
this.progress.completedQueries = this.progress.completedQueries + 1
236236
onProgressUpdated()
237237

238-
if (newDepth === 0) {
238+
if (newDepth <= 0) {
239239
return { learnings: allLearnings, visitedUrls: allUrls }
240240
}
241241

0 commit comments

Comments
 (0)