Commit graph

5 commits

Author SHA1 Message Date
hjc-puro
dddfb30c5b Fix smolagents ChatMessage compatibility and improve documentation
This commit fixes compatibility issues with smolagents 1.22.0 ChatMessage
objects and improves the documentation for easier setup.

Changes:
- Fix smolagents_model.py to handle ChatMessage objects (not just dicts)
  in _extract_user_message() and _format_chat_messages()
- Fix smolagents_env.py to handle ChatMessage objects in trajectory
  scoring and data group creation
- Update README.md with clearer installation instructions, Quick Start
  section, and automatic GAIA dataset download documentation
- Add test_run.sh script for easy testing with OpenAI models

Tested with:
- smolagents 1.22.0
- gpt-4o-mini via OpenAI API
- Tavily web search tools
- Automatic GAIA dataset download

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 21:27:52 +00:00
Allan Niemerg
bf4d84839b update README 2025-05-27 11:58:54 -05:00
Allan Niemerg
013090579d fix imports and style issues 2025-05-27 11:00:35 -05:00
Allan Niemerg
7a653044a4 add GAIA download to README 2025-05-21 16:18:08 -05:00
Allan Niemerg
7710e151cc This adds the SmolaGents integration to Atropos, enabling the creation of high-quality agent trajectories for training data. 2025-05-21 15:47:57 -05:00