diff --git a/fastapi_server/test_dashscope_client.py b/fastapi_server/test_dashscope_client.py index a87f9b9..92c8228 100644 --- a/fastapi_server/test_dashscope_client.py +++ b/fastapi_server/test_dashscope_client.py @@ -80,7 +80,7 @@ def main(): u = delta last_text = current_text - print("from stream: ", u) + logger.info(f"from stream: {u}") except TypeError: # 非流式回落(一次性返回) if responses.status_code != HTTPStatus.OK: