chore(telemetry): correct Path Confusion loop breaker implementation
This commit is contained in:
@@ -71,7 +71,7 @@ function classifyTurnIntent(message: string): TurnIntent {
|
||||
|
||||
// Feature build
|
||||
if (
|
||||
/(build|create|add|implement|make a|setup|wire up|scaffold|integrate)/.test(
|
||||
/(build|create|add|implement|make|setup|wire|scaffold|integrate|restart|start|reboot|run)/.test(
|
||||
m,
|
||||
)
|
||||
) {
|
||||
@@ -94,7 +94,7 @@ function classifyTurnIntent(message: string): TurnIntent {
|
||||
return "status_check";
|
||||
|
||||
// Conversational fallback
|
||||
if (m.length < 20 || /^(hi|hello|thanks|ok|yes|no)/.test(m))
|
||||
if (m.length < 5 || /^(hi|hello|thanks|ok|yes|no)/.test(m))
|
||||
return "conversational";
|
||||
|
||||
// Default to a generous feature build if we can't tell
|
||||
|
||||
Reference in New Issue
Block a user