mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-17 15:58:25 +00:00
fix(awel): Fix HO context key error (#2862)
This commit is contained in:
parent
3a614c67bb
commit
150e84ed18
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user