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>