Skip to content

Commit

Permalink
fix: Fix build AWEL flow parameters bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fangyinc committed Feb 22, 2024
1 parent 0960acb commit da8e88a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dbgpt/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "0.4.7"
version = "0.5.0"
3 changes: 2 additions & 1 deletion dbgpt/core/awel/flow/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,8 @@ def get_runnable_parameters(
f"Required parameters: {current_required_parameters.keys()}, "
f"but got {view_required_parameters.keys()}."
)
for view_param_key, view_param in view_required_parameters.items():
for view_param in view_parameters:
view_param_key = view_param.name
if view_param_key not in current_parameters:
raise FlowParameterMetadataException(
f"Parameter {view_param_key} not found in the metadata."
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/upgrade/v0.5.0.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Upgrade To v0.5.0(Draft)
# Upgrade To v0.5.0

## Overview

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
IS_DEV_MODE = os.getenv("IS_DEV_MODE", "true").lower() == "true"
# If you modify the version, please modify the version in the following files:
# dbgpt/_version.py
DB_GPT_VERSION = os.getenv("DB_GPT_VERSION", "0.4.7")
DB_GPT_VERSION = os.getenv("DB_GPT_VERSION", "0.5.0")

BUILD_NO_CACHE = os.getenv("BUILD_NO_CACHE", "true").lower() == "true"
LLAMA_CPP_GPU_ACCELERATION = (
Expand Down

0 comments on commit da8e88a

Please sign in to comment.