Skip to content

Commit

Permalink
adding support of gpt-4-32k
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-i committed May 22, 2023
1 parent d93bc97 commit ee34720
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/lib/ai_settings_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,11 @@ Human: You choose anything you like. Direction comes from the next message. One
value: 'gpt-4',
child: Text('GPT-4 (Advanced, Limited Beta)'),
),
/*DropdownMenuItem<String>(
value: 'gpt-4-32k',
child: Text('GPT-4-32k (Advanced, Limited Beta)'),
),*/
// uncomment the following lines to enable an extended 32,000 token context-length model gpt-4-32k
],
onChanged: (value) {
setState(() {
Expand Down
1 change: 1 addition & 0 deletions app/lib/openai_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ class OpenAI_API {
if (kDebugMode) {
print('Error: $e');
}
break;
}
}
}
Expand Down

0 comments on commit ee34720

Please sign in to comment.