From 6a313df905600bb7db245d09a0eac3f31dbe91d0 Mon Sep 17 00:00:00 2001 From: cogwheel0 <172976095+cogwheel0@users.noreply.github.com> Date: Sat, 27 Sep 2025 17:29:15 +0530 Subject: [PATCH] fix: default model selection --- lib/core/providers/app_providers.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/providers/app_providers.dart b/lib/core/providers/app_providers.dart index 2c488b2..45c3a20 100644 --- a/lib/core/providers/app_providers.dart +++ b/lib/core/providers/app_providers.dart @@ -757,7 +757,7 @@ final defaultModelProvider = FutureProvider((ref) async { return null; } - final api = ref.read(apiServiceProvider); + final api = ref.watch(apiServiceProvider); if (api == null) return null; try {