删除多余写入

pull/1269/head
foxplaying 2025-09-26 23:26:11 +08:00 committed by GitHub
parent a0ba989710
commit 7597af64d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -192,9 +192,6 @@ def _process_delta(
elif getattr(p, "text", None):
# 正常输出写入 buffer
fc_delta_buffer.write(p.text)
if delta.text:
fc_delta_buffer.write(delta.text)
if delta.function_calls: # 为什么不用hasattr呢是因为这个属性一定有即使是个空的
for call in delta.function_calls: