Skip to content

fix: prevent false Advisor stage in agent status UI#11

Open
andrewsuh98 wants to merge 1 commit into
mainfrom
fix/agent-pipeline-and-status-ui
Open

fix: prevent false Advisor stage in agent status UI#11
andrewsuh98 wants to merge 1 commit into
mainfrom
fix/agent-pipeline-and-status-ui

Conversation

@andrewsuh98

Copy link
Copy Markdown
Owner

Summary

  • Renamed coordinator's "Synthesizing results..." message to "Combining results..." so it doesn't trigger the Advisor stage on research-only queries
  • Removed "synthe" substring match from resolveAgentStage in the frontend, so the Advisor stage only activates on "advisor" or "recommend" keywords

Test plan

  • Send a research-type query (e.g. "what are good electives for CS majors") and verify the pipeline shows Catalog -> Research without lighting up Advisor
  • Send a recommendation query (e.g. "plan my semester") and verify the pipeline shows Catalog -> Research -> Advisor correctly
  • Send a simple query (e.g. "when does COMS W4111 meet") and verify only Catalog is active

"Synthesizing results..." was matching the "synthe" substring in
resolveAgentStage, lighting up the Advisor stage even when only the
research pipeline was running. Renamed the message to "Combining
results..." and removed "synthe" from the advisor match condition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant