(self)
| 557 | |
| 558 | class TestMessageProcess(VLLMTestBase): |
| 559 | async def asyncSetUp(self): |
| 560 | self.config = get_template_config() |
| 561 | self.config.mode = "explore" |
| 562 | self.config.model.model_path = get_model_path() |
| 563 | self.config.model.max_model_len = 100 |
| 564 | self.config.model.max_prompt_tokens = 50 |
| 565 | self.config.model.max_response_tokens = 50 |
| 566 | self.config.model.enable_prompt_truncation = True |
| 567 | self.config.explorer.rollout_model.enable_openai_api = True |
| 568 | self.config.check_and_update() |
| 569 | self.engines, self.auxiliary_engines = await create_test_models(self.config) |
| 570 | self.model_wrapper = self.engines[0] |
| 571 | |
| 572 | async def test_truncation_status(self): |
| 573 | """Test truncation status for multi-turn conversations.""" |
nothing calls this directly
no test coverage detected