mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-14 21:51:25 +00:00
feat: new dbgpts modules (#1910)
Co-authored-by: 途杨 <tuyang.yhj@antgroup.com> Co-authored-by: lhwan <1017484907@qq.com>
This commit is contained in:
@@ -623,7 +623,6 @@ class Service(BaseService[ServeEntity, ServeRequest, ServerResponse]):
|
||||
async def _wrapper_chat_stream_flow_str(
|
||||
self, stream_iter: AsyncIterator[ModelOutput]
|
||||
) -> AsyncIterator[str]:
|
||||
|
||||
async for output in stream_iter:
|
||||
text = output.text
|
||||
if text:
|
||||
|
@@ -15,7 +15,6 @@ from ..api.schemas import ServeRequest
|
||||
|
||||
|
||||
def _generate_dbgpts_zip(package_name: str, flow: ServeRequest) -> io.BytesIO:
|
||||
|
||||
zip_buffer = io.BytesIO()
|
||||
flow_name = flow.name
|
||||
flow_label = flow.label
|
||||
|
Reference in New Issue
Block a user