Commit ·
cc54647
1
Parent(s): 36cbcc0
fix:修复图片输出格式
Browse files
src/services/generation_handler.py
CHANGED
|
@@ -448,7 +448,7 @@ class GenerationHandler:
|
|
| 448 |
# 返回结果
|
| 449 |
if stream:
|
| 450 |
yield self._create_stream_chunk(
|
| 451 |
-
f"
|
| 452 |
finish_reason="stop"
|
| 453 |
)
|
| 454 |
else:
|
|
|
|
| 448 |
# 返回结果
|
| 449 |
if stream:
|
| 450 |
yield self._create_stream_chunk(
|
| 451 |
+
f"",
|
| 452 |
finish_reason="stop"
|
| 453 |
)
|
| 454 |
else:
|