mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-12 12:37:14 +00:00
fix(awel): Fix HO context key error (#2862)
This commit is contained in:
@@ -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(
|
||||
|
@@ -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(
|
||||
|
Reference in New Issue
Block a user