Conversation
- Restructure playbook to use single file progressive build approach - Change from 4 separate step files to one hardware_advisor.py that grows - Step 1: Basic skeleton (not runnable) with clear warning - Step 2: Add hardware detection tool (runnable) - Step 3: Add model catalog tool (runnable) - Step 4: Add recommendations tool (complete agent) - Fix scope issues where tools couldn't call each other - Rename part-1-getting-started.mdx to index.mdx (single-page playbook) - Update all internal documentation links Fixes #211 Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- Introduced `test_index_fix.py` to verify system prompt updates after indexing documents. - Created `test_index_interactive.sh` for interactive testing of the /index command. - Added `test_system_prompt_update.py` to ensure system prompt reflects indexed documents correctly. - Implemented `HardwareAdvisorAgent` in `zagent.py` to provide hardware capability advice for running LLMs. - Included methods for GPU detection, system information retrieval, and model recommendations based on available hardware.
- test_index_fix.py - test_index_interactive.sh - test_system_prompt_update.py - zagent.py These files were used for testing during playbook development and are no longer needed. Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
|
@claude review please |
|
Claude finished @itomek's task —— View job PR Review CompleteOverall: Approve 🟢 This is an excellent restructuring of the Hardware Advisor Playbook. The changes significantly improve the tutorial experience. Strengths1. Tab-to-Subsection Conversion 🟢 2. Consistent Progress Checks 🟢 3. Code Quality 🟢 4. Command Consistency 🟢 5. Documentation Structure 🟢 Minor Observations1. Settings File Change 🟡 2. System Prompt Difference 🟡 return "You are a hardware advisor for running local LLMs on AMD systems."While the example file ( 3. Missing Files Changed Summary
VerdictThe PR successfully addresses the issues outlined in #211:
Ready to merge. The documentation quality is significantly improved. |
Summary
This PR restructures the Hardware Advisor Playbook to significantly improve user experience and eliminate common issues encountered during tutorial implementation.
Problem Statement
The original tab-based structure created several user experience issues:
NameError: name 'Dict' is not definedChanges Made
1. Tab-to-Subsection Conversion
<Tabs>and<Tab>components with sequential subsections2. Python Code Formatting Fixes
main()function body indentation (print statements, try/except, while loop)3. Standardized Progress Checks
_get_gpu_info())get_hardware_info())list_available_models())recommend_models())4. Command Consistency
pythoncommands withuv run(8 instances)5. Accurate Step 6 Verification
examples/hardware_advisor_agent.py6. Enhanced Step Descriptions
Testing
Verified the following:
uv runcommands reference correct file pathsImpact
Before: Users encountered
NameError, indentation issues, and confusing tab navigationAfter: Linear, copy-paste-safe tutorial with clear progress tracking and accurate verification
Closes #211