gpt-engineer-app[bot] commited on
Commit ·
9fa90f5
1
Parent(s): d5d7aef
Changes
Browse files
src/routes/dashboard.branch-debug.tsx
CHANGED
|
@@ -579,11 +579,17 @@ function AnalyzerView({
|
|
| 579 |
</select>
|
| 580 |
</div>
|
| 581 |
)}
|
| 582 |
-
{detected
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 583 |
<p className="text-[10px] text-muted-foreground mt-2 leading-relaxed">
|
| 584 |
{detected === "diff"
|
| 585 |
-
?
|
| 586 |
-
:
|
| 587 |
</p>
|
| 588 |
)}
|
| 589 |
</div>
|
|
|
|
| 579 |
</select>
|
| 580 |
</div>
|
| 581 |
)}
|
| 582 |
+
{detected === "unknown" ? (
|
| 583 |
+
diff.trim().length > 0 && (
|
| 584 |
+
<p className="text-[10px] text-muted-foreground mt-2 leading-relaxed">
|
| 585 |
+
⏳ Detecting input type — paste at least a few lines to auto-classify as diff or snippet.
|
| 586 |
+
</p>
|
| 587 |
+
)
|
| 588 |
+
) : (
|
| 589 |
<p className="text-[10px] text-muted-foreground mt-2 leading-relaxed">
|
| 590 |
{detected === "diff"
|
| 591 |
+
? `⎇ Diff mode · ${diff.split("\n").length} lines · AI will map changed lines to ranked suspects.`
|
| 592 |
+
: `{} Snippet mode · ${diff.split("\n").length} lines · AI will scan this code directly for bugs matching your failure.`}
|
| 593 |
</p>
|
| 594 |
)}
|
| 595 |
</div>
|