chore(telemetry): resolve universal path normalizer logic and path-confusion tracking
This commit is contained in:
@@ -48,7 +48,7 @@ type AgentPhase =
|
|||||||
| "final";
|
| "final";
|
||||||
|
|
||||||
const TOOL_BUDGETS: Record<TurnIntent, number> = {
|
const TOOL_BUDGETS: Record<TurnIntent, number> = {
|
||||||
conversational: 0,
|
conversational: 1, // Must be at least 1 so the LLM gets called for a text reply
|
||||||
status_check: 2,
|
status_check: 2,
|
||||||
diagnose: 8,
|
diagnose: 8,
|
||||||
small_fix: 18,
|
small_fix: 18,
|
||||||
@@ -88,7 +88,9 @@ function classifyTurnIntent(message: string): TurnIntent {
|
|||||||
return "diagnose";
|
return "diagnose";
|
||||||
|
|
||||||
// Status check
|
// Status check
|
||||||
if (/(status|logs|running|active|what is|show me|check)/.test(m))
|
if (
|
||||||
|
/(status|logs|running|active|what is|show me|check|where|how|what)/.test(m)
|
||||||
|
)
|
||||||
return "status_check";
|
return "status_check";
|
||||||
|
|
||||||
// Conversational fallback
|
// Conversational fallback
|
||||||
|
|||||||
Reference in New Issue
Block a user