chore: Add pylint for storage (#1298)

This commit is contained in:
Fangyin Cheng
2024-03-15 15:42:46 +08:00
committed by GitHub
parent a207640ff2
commit 8897d6e8fd
50 changed files with 784 additions and 667 deletions

View File

@@ -411,6 +411,7 @@ class Service(BaseService[ServeEntity, ServeRequest, ServerResponse]):
end_node = cast(BaseOperator, leaf_nodes[0])
async for output in _chat_with_dag_task(end_node, request, incremental):
yield output
await dag._after_dag_end()
def _parse_flow_category(self, dag: DAG) -> FlowCategory:
"""Parse the flow category