mirror of
https://github.com/m5stack/ModuleLLM-OpenAI-Plugin.git
synced 2026-05-20 11:37:26 -07:00
[chore] Delete log printing
This commit is contained in:
@@ -61,7 +61,7 @@ class ASRClientBackend(BaseModelBackend):
|
||||
{
|
||||
"model": self.config["model_name"],
|
||||
"response_format": "asr.utf-8",
|
||||
"input": "whisper.base64",
|
||||
"input": "whisper.base64.stream",
|
||||
"language": "zh",
|
||||
"enoutput": True
|
||||
}
|
||||
|
||||
@@ -72,12 +72,6 @@ class ASRClient:
|
||||
"finish": finish
|
||||
}
|
||||
}
|
||||
|
||||
logger.debug(
|
||||
f"Sending streaming request: [ID:{request_id}] "
|
||||
f"Action:{action} WorkID:{payload['work_id']}\n"
|
||||
f"Delta: {delta[:20]}... Index: {index} Finish: {finish}"
|
||||
)
|
||||
|
||||
self.sock.sendall(json.dumps(payload, ensure_ascii=False).encode('utf-8'))
|
||||
return request_id
|
||||
|
||||
Reference in New Issue
Block a user