diff --git a/app/lib/views/dialogs/api_key_dialog.dart b/app/lib/views/dialogs/api_key_dialog.dart index 5f04444..dc384a9 100644 --- a/app/lib/views/dialogs/api_key_dialog.dart +++ b/app/lib/views/dialogs/api_key_dialog.dart @@ -9,10 +9,10 @@ class ApiKeyDialog extends StatefulWidget { const ApiKeyDialog({super.key}); @override - _ApiKeyDialogState createState() => _ApiKeyDialogState(); + ApiKeyDialogState createState() => ApiKeyDialogState(); } -class _ApiKeyDialogState extends State { +class ApiKeyDialogState extends State { static const openAIKeyPattern = r'^sk-[A-Za-z0-9-_]+$'; static const huggingFaceKeyPattern = r'^[A-Za-z0-9-_]+$'; static const pulzeAIKeyPattern = r'^sk-[A-Za-z0-9-_]+$';