feat(nodes.py): make "llm" field required and show it in the frontend
This commit is contained in:
parent
5d424474f2
commit
5ebf71116d
1 changed files with 4 additions and 0 deletions
|
|
@ -559,6 +559,10 @@ class ChainFrontendNode(FrontendNode):
|
|||
field.required = False
|
||||
field.show = True
|
||||
field.advanced = True
|
||||
if field.name == "llm":
|
||||
field.required = True
|
||||
field.show = True
|
||||
field.advanced = False
|
||||
|
||||
|
||||
class LLMFrontendNode(FrontendNode):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue