diff --git a/dbgpt/_version.py b/dbgpt/_version.py index e7cc0113f..819a3005a 100644 --- a/dbgpt/_version.py +++ b/dbgpt/_version.py @@ -1 +1 @@ -version = "0.4.7" +version = "0.5.0" diff --git a/dbgpt/core/awel/flow/base.py b/dbgpt/core/awel/flow/base.py index ecd84d3c6..e573b0567 100644 --- a/dbgpt/core/awel/flow/base.py +++ b/dbgpt/core/awel/flow/base.py @@ -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." diff --git a/docs/docs/upgrade/v0.5.0.md b/docs/docs/upgrade/v0.5.0.md index 97d8d8e93..e8b24af20 100644 --- a/docs/docs/upgrade/v0.5.0.md +++ b/docs/docs/upgrade/v0.5.0.md @@ -1,4 +1,4 @@ -# Upgrade To v0.5.0(Draft) +# Upgrade To v0.5.0 ## Overview diff --git a/setup.py b/setup.py index e17eb48c9..a8074296f 100644 --- a/setup.py +++ b/setup.py @@ -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 = (