make it easier for agents to discover docs (#3579) [skip ci]

* make it easier for agents to discover docs

* fixup pr comments
This commit is contained in:
Wing Lian
2026-04-06 10:00:55 -07:00
committed by GitHub
parent 900eec7988
commit 6f15da4cac
6 changed files with 255 additions and 2 deletions

View File

@@ -220,6 +220,16 @@ jobs:
run: |
axolotl --help
- name: Verify agent docs are discoverable
run: |
# Agent docs live in docs/agents/ (source of truth) and are resolved
# at runtime from the repo checkout or via `axolotl fetch docs`
axolotl agent-docs --list
axolotl agent-docs | grep -q "Fine-tuning framework"
axolotl agent-docs grpo | grep -q "GRPO"
axolotl agent-docs sft | grep -q "SFT"
python -c "from axolotl.cli.agent_docs import get_doc, list_topics; assert len(list_topics()) >= 5; assert 'GRPO' in get_doc('grpo')"
- name: Show HF cache
run: hf cache ls