Multi model support in thought

This commit is contained in:
2025-11-16 02:45:02 +08:00
parent a9fd75cc45
commit 9a75228e38
7 changed files with 780 additions and 24 deletions

View File

@@ -36,6 +36,13 @@ Future<List<SnThinkingThought>> thoughtSequence(
.toList();
}
@riverpod
Future<ThoughtServicesResponse> thoughtServices(Ref ref) async {
final apiClient = ref.watch(apiClientProvider);
final response = await apiClient.get('/insight/thought/services');
return ThoughtServicesResponse.fromJson(response.data);
}
class ThoughtScreen extends HookConsumerWidget {
const ThoughtScreen({super.key});