Skip to content

Commit

Permalink
fix setting page crash
Browse files Browse the repository at this point in the history
  • Loading branch information
tangenta committed Jul 21, 2023
1 parent 56c0d27 commit ee4e395
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/components/setting.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class SettingPage extends GetResponsiveView<SettingsController> {
),
filled: true,
),
items: <String>['OpenAI', 'ChatGlm', 'IF']
items: <String>['OpenAI', 'ChatGlm', 'IF', 'Echo']
.map<DropdownMenuItem<String>>((String value) {
return DropdownMenuItem<String>(
value: value,
Expand Down
2 changes: 1 addition & 1 deletion lib/controller/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SettingsController extends GetxController {

final useWebSearch = false.obs;

final llm = "ECHO".obs;
final llm = "Echo".obs;

final version = "1.0.0".obs;

Expand Down

0 comments on commit ee4e395

Please sign in to comment.