mirror of
https://github.com/Yanyutin753/RefreshToV1Api.git
synced 2025-12-14 02:00:13 +08:00
fix 空格问题
This commit is contained in:
4
main.py
4
main.py
@@ -1444,9 +1444,9 @@ def data_fetcher(upstream_response, data_queue, stop_event, last_data_time, api_
|
||||
# 只获取新的 parts
|
||||
parts = content.get("parts", [])
|
||||
full_text = ''.join(parts)
|
||||
if full_text == "![":
|
||||
if full_text == "![":
|
||||
last_full_text = "!"
|
||||
new_text = full_text[len(last_full_text):]
|
||||
new_text = full_text[len(last_full_text):]
|
||||
last_full_text = full_text
|
||||
if "\u3010" in new_text and not citation_accumulating:
|
||||
citation_accumulating = True
|
||||
|
||||
Reference in New Issue
Block a user