fixbug:解决抢答和获取任务的问题

This commit is contained in:
Liu
2025-02-21 20:01:33 +08:00
parent 8954fc5a7f
commit f65c6920c1
2 changed files with 0 additions and 2 deletions

View File

@@ -8,7 +8,6 @@ def extract_content(data_string):
data = json.loads(data_string)
# 提取content字段
content = data["choices"][0]["message"].get("content", "")
print(content)
return content
except json.JSONDecodeError:
print("Invalid JSON")