Repository navigation
docs(eval): install the flagship agent in the eval guides - #6925
Conversation
|
Verdict: Request changes This fixes the immediate crash: the server in the eval-CI guide now gets its web stack and starts. But the guide's first job is a RAG-quality eval, and the document-search libraries it needs (faiss, the PDF readers) are still missing from this install. A user who copies the workflow gets past startup and then fails at the first document question, with an error that's harder to trace than today's.
Real-world evidenceN/A: no evidence bundle was produced for this run (packaging/test-only change from a fork). The verdict rests on static review alone. Nobody has run the guide's workflow from a clean install with this change. 🔍 Technical detailsIssues 🟡
🟡 Follow-up: eval-ci guide doesn't install the flagship agent package. The flagship lives in 🟢 Test parses requirement names with chained Licences: fastapi (MIT), uvicorn (BSD-3), python-multipart (Apache-2.0), httpx (BSD-3), psutil (BSD-3). All permissive, and Strengths
|
|
Addressed the review findings in The documented eval recipe now installs the same complete stack used by GAIA's own eval workflows: Both Validation on D: |
# Conflicts: # docs/guides/eval-ci.mdx # docs/guides/eval.mdx
|
Thanks, @huong8373tt-beep. Your second commit took the approach from the review. While this PR was open, #6933 merged and switched the guide to 🔍 Technical details
|
swastiktawate
left a comment
There was a problem hiding this comment.
Thanks for this fix. The eval guides now install the full stack the workflows need, and the new test pins the recipe so it cannot silently drift again.
One small nit: the new test checks the whole guide file for the .[eval,ui] and hub/agents/gaia/python strings, so it passes as long as any one of the five install blocks still has them. If a single block regressed, for example the Architecture Audit job slipping back to .[eval] alone, the test would still pass. Checking each install block separately, or counting the occurrences, would catch that.
Not blocking, the fix itself is correct and the test covers the current state.
…de test The audit job only reads source, so it needs no UI stack or flagship package. The static test read two docs that test_unit.yml doesn't trigger on and passed on a single mention, so it is removed.
|
Quick follow-up: #6933 had already landed the |
The eval guides install
.[eval,ui](since #6933) but not the flagship agent package. The defaultgaiaagent lives inhub/agents/gaia/python, and no extra pulls it in. Anyone following the guide gets the Agent UI backend running, then hits aModuleNotFoundErrorwhen the eval tries to create a session. This adds-e hub/agents/gaia/pythonto every eval install line that starts the backend, the same install GAIA's own eval workflow uses. The audit-only job stays on.[eval]because it only reads source.Follows #6933, which fixed the missing web stack for #3424.
Test plan
docs/guides/eval.mdxand the four backend-starting jobs indocs/guides/eval-ci.mdxinstall-e ".[eval,ui]" -e hub/agents/gaia/python; the audit job installs.[eval]rag_qualityscenario creates its session