Skip to content

feat: multi-step ReAct diagnosis - #59

Merged
Goodnight77 merged 8 commits into
mainfrom
feat/react-diagnosis
Jul 18, 2026
Merged

feat: multi-step ReAct diagnosis#59
Goodnight77 merged 8 commits into
mainfrom
feat/react-diagnosis

Conversation

@Goodnight77

Copy link
Copy Markdown
Owner

Closes #21

diagnose() now runs a reason/act loop (LangGraph create_react_agent): search manuals, search history, reason, and re-search with a refined query if needed before answering. Output stays the Diagnosis schema.

  • Tools = search_manuals/search_history (MCP-first + direct fallback, unchanged)
  • Model: agent_model (deepseek-chat, needs tool-calling) via ChatOpenAI
  • Any agent failure degrades to the previous single-shot path
  • Verified end-to-end against DeepSeek + Qdrant (multi-step retrieval, grounded Diagnosis)

@Goodnight77
Goodnight77 merged commit b8ffdb6 into main Jul 18, 2026
3 checks passed
@Goodnight77
Goodnight77 deleted the feat/react-diagnosis branch July 18, 2026 18:21
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.

Agentic multi-step diagnosis (ReAct)

1 participant