From 37303ce0f0f65985c0b1f901820d92d3d7d9e911 Mon Sep 17 00:00:00 2001 From: goulustis Date: Fri, 7 Nov 2025 20:07:49 +0800 Subject: [PATCH] better logging --- fastapi_server/test_dashscope_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: