diff --git a/fastapi_app.py b/fastapi_app.py index 2c11b42..f109eb1 100644 --- a/fastapi_app.py +++ b/fastapi_app.py @@ -71,18 +71,20 @@ def get_content_from_messages(messages: List[dict], tool_response: bool = True) # 匹配并替换不完整的 tool_call 模式 content_text = re.sub(r'