Skip to content

Commit 1440885

Browse files
authored
Merge pull request #5885 from DhyaniKavya/fix/remove-reflection-debug-logs
Fix: remove debug console.log statements from reflection widget
2 parents c0bee41 + 34defc9 commit 1440885

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

js/widgets/reflection.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ class ReflectionMatrix {
296296
async updateProjectCode() {
297297
const code = await this.activity.prepareExport();
298298
if (code === this.code) {
299-
console.log("No changes in code detected.");
300299
return; // No changes in code
301300
}
302301

@@ -308,8 +307,6 @@ class ReflectionMatrix {
308307
if (data.algorithm !== "unchanged") {
309308
this.projectAlgorithm = data.algorithm; // update algorithm
310309
this.code = code;
311-
} else {
312-
console.log("No changes in algorithm detected.");
313310
}
314311
this.botReplyDiv(data, false, false);
315312
} else {
@@ -416,7 +413,6 @@ class ReflectionMatrix {
416413
*/
417414
async generateAnalysis() {
418415
try {
419-
console.log("Summary stored", this.summary);
420416
const response = await fetch(`${this.PORT}/analysis`, {
421417
method: "POST",
422418
headers: { "Content-Type": "application/json" },
@@ -580,7 +576,6 @@ class ReflectionMatrix {
580576
} catch (e) {
581577
console.warn("Could not save analysis report to localStorage:", e);
582578
}
583-
console.log("Conversation saved in localStorage.");
584579
}
585580

586581
/** Reads the analysis report from localStorage.

0 commit comments

Comments
 (0)