Merge pull request #870 from synapsecode/airequests_proto

GenAI + AIRequests Feature
This commit is contained in:
Ankit Mahato
2025-08-29 02:06:20 +05:30
committed by GitHub
100 changed files with 4837 additions and 123 deletions

View File

@@ -57,6 +57,7 @@ final Map<String, dynamic> historyRequestModelJson1 = {
"historyId": "historyId1",
"metaData": historyMetaModelJson1,
"httpRequestModel": httpRequestModelGet4Json,
'aiRequestModel': null,
"httpResponseModel": responseModelJson,
'preRequestScript': null,
'postRequestScript': null,

View File

@@ -218,7 +218,8 @@ Map<String, dynamic> requestModelJson = {
'message': null,
'httpResponseModel': responseModelJson,
'preRequestScript': null,
'postRequestScript': null
'postRequestScript': null,
'aiRequestModel': null
};
/// Basic GET request model for apidash.dev

View File

@@ -31,7 +31,7 @@ void main() {
expect(
find.text(
historyRequestModel.httpRequestModel.method.name.toUpperCase()),
historyRequestModel.httpRequestModel!.method.name.toUpperCase()),
findsOneWidget);
});
@@ -45,7 +45,7 @@ void main() {
);
expect(
find.text(historyRequestModel.httpRequestModel.url), findsOneWidget);
find.text(historyRequestModel.httpRequestModel!.url), findsOneWidget);
});
});
}