Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
e9dfb9b
docs(agent-coordination): document backend login issue and resolution…
ichandrasharma Sep 7, 2026
63f4a30
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 7, 2026
14aa99b
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 8, 2026
5e06502
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 9, 2026
d6f5ebb
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 10, 2026
60c0536
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 11, 2026
a59d11d
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 14, 2026
9cd0b9d
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 15, 2026
2929a29
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 15, 2026
ebde2a5
feat(owner-dashboard): enhance data normalization and add live payloa…
ichandrasharma Sep 15, 2026
625119c
Merge remote-tracking branch 'origin/main' into pr-613
rush86999 Sep 15, 2026
a66d8a3
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 16, 2026
e4b684a
Merge branch 'ichandra2' of https://github.com/rush86999/atom into ic…
ichandrasharma Sep 16, 2026
ba3e31d
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 16, 2026
c0a59af
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 18, 2026
844f948
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 21, 2026
1d3b86c
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 22, 2026
075329d
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 23, 2026
d75d863
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 23, 2026
bb0c2b9
fix(pdf-worker): update worker source path to legacy version
ichandrasharma Sep 23, 2026
4d95965
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 24, 2026
a03de07
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 25, 2026
c092f7b
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 28, 2026
9c8b7c1
fix(next-env): update import path for routes type definitions
ichandrasharma Sep 28, 2026
34a9349
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Sep 30, 2026
7c690ce
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Oct 1, 2026
db7932c
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Oct 2, 2026
0ac829a
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Oct 5, 2026
a7b958c
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Oct 6, 2026
dc73fd9
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Oct 8, 2026
9252a93
Merge branch 'main' of https://github.com/rush86999/atom into ichandra2
ichandrasharma Oct 9, 2026
77c489d
fix(chat-orchestrator): update intent mapping to handle unknown comma…
ichandrasharma Oct 9, 2026
510e87d
fix(chat-orchestrator): refine fallback logic for ComputerUseAgent to…
ichandrasharma Oct 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions backend/integrations/chat_orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -21561,9 +21561,10 @@ def _classify_intent(self, nlp_result) -> ChatIntent:
CommandType.BUSINESS_HEALTH: ChatIntent.BUSINESS_HEALTH,
CommandType.TRIGGER: ChatIntent.AUTOMATION_TRIGGER,
CommandType.WORKFLOW_CREATION: ChatIntent.WORKFLOW_CREATION,
CommandType.UNKNOWN: ChatIntent.AGENT_REQUEST,
}

return intent_mapping.get(command_type, ChatIntent.SEARCH_REQUEST)
return intent_mapping.get(command_type, ChatIntent.AGENT_REQUEST)

def _fallback_intent_analysis(self, message: str) -> Dict[str, Any]:
"""Fallback intent analysis when NLP is unavailable"""
Expand Down Expand Up @@ -21591,14 +21592,14 @@ def _fallback_intent_analysis(self, message: str) -> Dict[str, Any]:
elif any(word in message_lower for word in ["deal", "lead", "pipeline", "sales", "prospect", "forecast"]):
intent = ChatIntent.CRM
else:
intent = ChatIntent.SEARCH_REQUEST
intent = ChatIntent.AGENT_REQUEST

return {
"primary_intent": intent,
"confidence": 0.6,
"entities": [],
"platforms": [],
"command_type": "search"
"command_type": "agent"
}

def _continuation_decision(
Expand Down Expand Up @@ -21808,9 +21809,11 @@ async def _route_to_features(

logger.info(f"Feature handling complete. Handled: {handled}, Intent: {primary_intent}")

# Fallback to ComputerUseAgent if no specific feature handled it successfully
# OR if the intention was explicitly AGENT_REQUEST
if not handled or primary_intent == ChatIntent.AGENT_REQUEST:
# Fallback to ComputerUseAgent only when no feature handled the turn.
# A successful Atom/LLM agent response is already the user-facing answer;
# starting a background ComputerUse task here overwrites it with a
# generic "Task ID" status bubble.
if not handled:
try:
# Use the General Agent (ComputerUseAgent) for unhandled queries
# Identity and size, not the goal text. The user's own words do
Expand Down
2 changes: 1 addition & 1 deletion frontend-nextjs/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next-preview-crosssrc_fix_0929/dev/types/routes.d.ts";
import "./.next/dev/types/routes.d.ts";

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
Loading