Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agent/tools/github_find_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def find_examples(
"Sequence: github_find_examples → github_read_file (study the example) → implement based on what you found.\n\n"
"Skip this only for: simple data queries, status checks, non-code tasks.\n\n"
"Examples:\n"
" {keyword: 'sft', repo: 'trl'} → finds examples/scripts/sft.py\n"
" {keyword: 'sft', repo: 'trl'} → finds examples/sft_gemma3/sft_gemma3.py\n"
" {keyword: 'grpo', repo: 'trl'} → finds GRPO training examples\n"
" {repo: 'trl', max_results: 20} → lists all available training method examples"
),
Expand Down
2 changes: 1 addition & 1 deletion agent/tools/research_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ async def _record_research_llm_call(

# 6. Now get working code for the training method
github_find_examples({"repo": "trl", "keyword": "sft"})
github_read_file({"repo": "huggingface/trl", "path": "examples/scripts/sft.py"})
github_read_file({"repo": "huggingface/trl", "path": "trl/scripts/sft.py"})
explore_hf_docs("trl")
```

Expand Down
Loading