mirror of https://github.com/Mai-with-u/MaiBot.git
删除多余写入
parent
a0ba989710
commit
7597af64d8
|
|
@ -193,9 +193,6 @@ def _process_delta(
|
||||||
# 正常输出写入 buffer
|
# 正常输出写入 buffer
|
||||||
fc_delta_buffer.write(p.text)
|
fc_delta_buffer.write(p.text)
|
||||||
|
|
||||||
if delta.text:
|
|
||||||
fc_delta_buffer.write(delta.text)
|
|
||||||
|
|
||||||
if delta.function_calls: # 为什么不用hasattr呢,是因为这个属性一定有,即使是个空的
|
if delta.function_calls: # 为什么不用hasattr呢,是因为这个属性一定有,即使是个空的
|
||||||
for call in delta.function_calls:
|
for call in delta.function_calls:
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue