exo
exo copied to clipboard
concurrent execution of chatgpt_api.py handle_post_chat_completions produce chaos
any hints?
streaming mode
没办法,强制单线程先:
async def handle_post_chat_completions(self, request):
async with self._lock:
data = await request.json()
if DEBUG >= 2: print(f"[ChatGPTAPI] Handling chat completions request from {request.remote}: {data}")
stream = data.get("stream", False)
I've also appeared
Should be fixed in 1.0!