refactor: Remove build_config method from PromptComponent
This commit is contained in:
parent
732ab8d443
commit
b14ae0cbb2
1 changed files with 0 additions and 5 deletions
|
|
@ -8,11 +8,6 @@ class PromptComponent(Component):
|
|||
description: str = "Create a prompt template with dynamic variables."
|
||||
icon = "prompts"
|
||||
|
||||
def build_config(self):
|
||||
return {
|
||||
"template": Input(display_name="Template"),
|
||||
}
|
||||
|
||||
inputs = [
|
||||
Input(name="template", type=Prompt, display_name="Template"),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue