Skip to content

Commit

Permalink
fix: diable prompts input textfield
Browse files Browse the repository at this point in the history
  • Loading branch information
zmhu committed Dec 27, 2023
1 parent 9572228 commit 71f9c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/chat_edit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class ChatEditPage extends StatelessWidget {
),
));
if (controller.session.modelType == ModelType.chat.name) {
if (aiModel.disablePrompt != null && aiModel.disablePrompt != true) {
if (aiModel.disablePrompt == null || aiModel.disablePrompt == false) {
widgets.add(ListTile(
dense: true,
title: Text(
Expand Down

0 comments on commit 71f9c4f

Please sign in to comment.