Support for async processor added. (#3870)

* Support for async processor added.

* remove yappi code
This commit is contained in:
SunLei
2025-09-04 10:35:08 +08:00
committed by GitHub
parent b56b015d85
commit 8c0e7d6fe9
4 changed files with 12 additions and 8 deletions

View File

@@ -70,7 +70,7 @@ class TestLodChatTemplate(unittest.IsolatedAsyncioTestCase):
):
return prompt_token_ids
def mock_format_and_add_data(current_req_dict):
async def mock_format_and_add_data(current_req_dict):
return current_req_dict
self.chat_completion_handler.chat_completion_full_generator = mock_chat_completion_full_generator
@@ -97,7 +97,7 @@ class TestLodChatTemplate(unittest.IsolatedAsyncioTestCase):
):
return prompt_token_ids
def mock_format_and_add_data(current_req_dict):
async def mock_format_and_add_data(current_req_dict):
return current_req_dict
self.chat_completion_handler.chat_completion_full_generator = mock_chat_completion_full_generator