fix(awel): Fix HO context key error (#2862)

This commit is contained in:
Fangyin Cheng
2025-07-25 17:13:35 +08:00
committed by GitHub
parent 3a614c67bb
commit 150e84ed18
2 changed files with 3 additions and 1 deletions

View File

@@ -148,6 +148,7 @@ _PARAMETER_CONTEXT_KEY = Parameter.build_from(
type=str,
optional=True,
default="context",
alias=["context"],
description=_("The key of the context, it will be used in building the prompt"),
)
_INPUTS_QUESTION = IOField.build_from(

View File

@@ -33,10 +33,11 @@ def _load_space_name() -> List[OptionValue]:
_PARAMETER_CONTEXT_KEY = Parameter.build_from(
_("Context Key"),
"context",
"context_key",
type=str,
optional=True,
default="context",
alias=["context"],
description=_("The key of the context, it will be used in building the prompt"),
)
_PARAMETER_TOP_K = Parameter.build_from(