master
yumoqing 2024-04-14 11:35:48 +08:00
parent 3b16a9bbea
commit 5fd1f1ce1b
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class LlmProxy:
jstr = json.dumps(j) + '\n'
bin = jstr.encode('utf-8')
await self.resp.write(bin)
await self.resp.flush()
await self.resp.drain()
except Exception as e:
print(f'Write_chunk("{l}") errpr:{e=}')