Local development, disable log requests

This commit is contained in:
alpayariyak
2023-12-29 02:21:24 +00:00
parent cdda5edab3
commit 2475cd7a66
5 changed files with 15 additions and 4 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ vllm_engine = VLLMEngine()
async def handler(job: dict) -> Generator[dict, None, None]:
job_input = job["input"]
llm_input, apply_chat_template = job_input.get(
"prompt", job_input["messages"]
"messages", job_input.get("prompt")
), job_input.get("apply_chat_template", False)
if apply_chat_template or isinstance(llm_input, list):