fix style check (#25854)

This commit is contained in:
QuantumGhost
2025-09-17 22:37:17 +08:00
committed by GitHub
12 changed files with 195 additions and 126 deletions

View File

@ -23,7 +23,7 @@ class WorkflowAppGenerateResponseConverter(AppGenerateResponseConverter):
:param blocking_response: blocking response
:return:
"""
return dict(blocking_response.to_dict())
return dict(blocking_response.model_dump())
@classmethod
def convert_blocking_simple_response(cls, blocking_response: WorkflowAppBlockingResponse) -> dict: # type: ignore[override]