Test creating status.
(self)
| 282 | """Tests for ChatStatus model.""" |
| 283 | |
| 284 | def test_create(self): |
| 285 | """Test creating status.""" |
| 286 | status = ChatStatus( |
| 287 | provider="openai", |
| 288 | model="gpt-4", |
| 289 | tool_count=10, |
| 290 | server_count=2, |
| 291 | ) |
| 292 | assert status.provider == "openai" |
| 293 | assert status.model == "gpt-4" |
| 294 | assert status.tool_count == 10 |
| 295 | |
| 296 | def test_to_dict(self): |
| 297 | """Test to_dict.""" |