Downgraded to Stac 0.10 and Initialized Stac

This commit is contained in:
Manas Hejmadi
2025-08-29 02:51:13 +05:30
parent 4d696ccaa9
commit 6ad1f1e43e
4 changed files with 49 additions and 2 deletions

View File

@@ -54,7 +54,11 @@ class ResponsePaneHeader extends ConsumerWidget {
onPressed: () {
final model = ref.watch(selectedRequestModelProvider
.select((value) => value?.httpResponseModel));
showCustomDialog(context, model?.formattedBody ?? "");
if (model == null) return;
final body = (model.sseOutput?.isNotEmpty ?? false)
? model.sseOutput?.join("\n")
: model.formattedBody ?? model.body;
showCustomDialog(context, body ?? "");
},
icon: Icon(
Icons.generating_tokens,