Fix deprecation warning about parameter messages by albertvillanova · Pull Request #1718 · huggingface/smolagents (original) (raw)
tests/test_agents.py::TestRunResult::test_no_token_usage[CodeAgent] tests/test_agents.py::TestRunResult::test_no_token_usage[ToolCallingAgent] /home/runner/work/smolagents/smolagents/tests/test_agents.py:887: FutureWarning: Parameter 'messages' is deprecated and will be removed in version 1.25. Please use 'steps' instead. assert isinstance(result.messages, list)
tests/test_agents.py::TestRunResult::test_full_result[True-None-True] tests/test_agents.py::TestRunResult::test_full_result[False-True-True] /home/runner/work/smolagents/smolagents/tests/test_agents.py:913: FutureWarning: Parameter 'messages' is deprecated and will be removed in version 1.25. Please use 'steps' instead. assert isinstance(result.messages, list)