We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31046e1 commit ef0e5dcCopy full SHA for ef0e5dc
apps/application/flow/common.py
@@ -249,6 +249,8 @@ def is_valid_model_params(self):
249
node_list = [node for node in self.nodes if (
250
node.type == 'ai-chat-node' or node.type == 'question-node' or node.type == 'parameter-extraction-node')]
251
for node in node_list:
252
+ if (node.properties.get('node_data', {}).get('model_id_type') or 'custom') == 'reference':
253
+ continue
254
model = QuerySet(Model).filter(id=node.properties.get('node_data', {}).get('model_id')).first()
255
if model is None:
256
raise ValidationError(ErrorDetail(
0 commit comments