fix: update collection notifier to include parameter enablement

This commit is contained in:
Udhay-Adithya
2025-09-16 01:41:39 +05:30
parent 16e7b92934
commit 9c76683c85

View File

@@ -283,7 +283,12 @@ class ChatViewmodel extends StateNotifier<ChatState> {
.map(
(e) => NameValueModel(name: e.key, value: e.value.toString()))
.toList();
collectionNotifier.update(params: params, id: requestId);
final enabled = List<bool>.filled(params.length, true);
collectionNotifier.update(
params: params,
isParamEnabledList: enabled,
id: requestId,
);
}
break;
}