Test creating a simple response.
(self)
| 29 | """Tests for CompletionResponse model.""" |
| 30 | |
| 31 | def test_create_simple(self): |
| 32 | """Test creating a simple response.""" |
| 33 | resp = CompletionResponse(response="Hello!") |
| 34 | assert resp.response == "Hello!" |
| 35 | assert resp.tool_calls == [] |
| 36 | assert resp.reasoning_content is None |
| 37 | |
| 38 | def test_create_with_tool_calls(self): |
| 39 | """Test creating response with tool calls.""" |
nothing calls this directly
no test coverage detected