Test creating from dict arguments.
(self)
| 77 | assert args == {} |
| 78 | |
| 79 | def test_from_dict_args(self): |
| 80 | """Test creating from dict arguments.""" |
| 81 | fc = FunctionCallData.from_dict_args("sqrt", {"x": 18}) |
| 82 | assert fc.name == "sqrt" |
| 83 | assert json.loads(fc.arguments) == {"x": 18} |
| 84 | |
| 85 | |
| 86 | class TestToolCallData: |
nothing calls this directly
no test coverage detected