(self)
| 1327 | """Test _parse_tool_call_entry with dict and object formats.""" |
| 1328 | |
| 1329 | def test_dict_entry(self): |
| 1330 | tc = { |
| 1331 | "id": "call_1", |
| 1332 | "type": "function", |
| 1333 | "function": {"name": "my_tool", "arguments": '{"x": 1}'}, |
| 1334 | } |
| 1335 | result = _parse_tool_call_entry(tc) |
| 1336 | assert result == {"name": "my_tool", "args": {"x": 1}} |
| 1337 | |
| 1338 | def test_object_entry(self): |
| 1339 | class FuncObj: |
nothing calls this directly
no test coverage detected