refactor: Update PromptComponent to use field_type instead of type for input definition
This commit is contained in:
parent
682faea54b
commit
2d277b6e19
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ class PromptComponent(Component):
|
||||||
icon = "prompts"
|
icon = "prompts"
|
||||||
|
|
||||||
inputs = [
|
inputs = [
|
||||||
Input(name="template", type=Prompt, display_name="Template"),
|
Input(name="template", field_type=Prompt, display_name="Template"),
|
||||||
]
|
]
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue