(self, exclude_unset: bool = True)
| 2024 | def test_ensure_api_input_item_handles_model_dump_objects(): |
| 2025 | class _ModelDumpItem: |
| 2026 | def model_dump(self, exclude_unset: bool = True) -> dict[str, Any]: |
| 2027 | return { |
| 2028 | "type": "function_call_output", |
| 2029 | "call_id": "call_model_dump", |
| 2030 | "output": "dumped", |
| 2031 | } |
| 2032 | |
| 2033 | dummy_item: Any = _ModelDumpItem() |
| 2034 | converted = ensure_input_item_format(dummy_item) |
no outgoing calls
no test coverage detected