Complete local hybrid search and improve agent reliability
This commit is contained in:
@@ -6,10 +6,12 @@ import 'core/network/api_repository.dart';
|
||||
import 'core/notifications/completion_notification_service.dart';
|
||||
import 'features/audio/presentation/cubit/voice_cubit.dart';
|
||||
import 'features/chat/presentation/cubit/chat_cubit.dart';
|
||||
import 'features/chat/presentation/cubit/chat_state.dart';
|
||||
import 'features/chat/presentation/pages/chat_page.dart';
|
||||
|
||||
const _green = Color(0xFF167C68);
|
||||
const _paper = Color(0xFFF6F5F0);
|
||||
const _night = Color(0xFF101A18);
|
||||
|
||||
Future<void> main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
@@ -38,15 +40,33 @@ class SovereignApp extends StatelessWidget {
|
||||
const SovereignApp({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => MaterialApp(
|
||||
title: 'Mithqal AI',
|
||||
debugShowCheckedModeBanner: false,
|
||||
theme: ThemeData(
|
||||
useMaterial3: true,
|
||||
scaffoldBackgroundColor: _paper,
|
||||
colorScheme: ColorScheme.fromSeed(seedColor: _green, surface: _paper),
|
||||
fontFamily: 'Segoe UI',
|
||||
),
|
||||
home: const ChatPage(),
|
||||
Widget build(BuildContext context) => BlocBuilder<ChatCubit, ChatState>(
|
||||
builder:
|
||||
(context, state) => MaterialApp(
|
||||
title: 'Mithqal AI',
|
||||
debugShowCheckedModeBanner: false,
|
||||
themeMode: state.isDarkMode ? ThemeMode.dark : ThemeMode.light,
|
||||
theme: ThemeData(
|
||||
useMaterial3: true,
|
||||
scaffoldBackgroundColor: _paper,
|
||||
colorScheme: ColorScheme.fromSeed(
|
||||
seedColor: _green,
|
||||
surface: _paper,
|
||||
),
|
||||
fontFamily: 'Segoe UI',
|
||||
),
|
||||
darkTheme: ThemeData(
|
||||
useMaterial3: true,
|
||||
brightness: Brightness.dark,
|
||||
scaffoldBackgroundColor: _night,
|
||||
colorScheme: ColorScheme.fromSeed(
|
||||
seedColor: const Color(0xFF57C6A4),
|
||||
brightness: Brightness.dark,
|
||||
surface: _night,
|
||||
),
|
||||
fontFamily: 'Segoe UI',
|
||||
),
|
||||
home: const ChatPage(),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user