mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-15 15:03:45 +00:00
Merge branch 'flow2.0-operators' into chore/update-api-new
This commit is contained in:
commit
a09587d1c9
@ -517,7 +517,7 @@ async def import_flow(
|
|||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
status_code=400, detail="invalid json file, missing 'flow' key"
|
status_code=400, detail="invalid json file, missing 'flow' key"
|
||||||
)
|
)
|
||||||
flow = _parse_flow_template_from_json(json_dict["flow"])
|
flow = _parse_flow_template_from_json(json_dict)
|
||||||
elif file_extension == "zip":
|
elif file_extension == "zip":
|
||||||
from ..service.share_utils import _parse_flow_from_zip_file
|
from ..service.share_utils import _parse_flow_from_zip_file
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user