Commit Graph

9 Commits

Author SHA1 Message Date
Manas Hejmadi
97d4a7a45b AIRequests: Removed AIResponseModel & sendRequest implemented 2025-08-06 08:59:25 +05:30
Manas Hejmadi
d923996dc8 AIProviderSelector Impl & AI Models added to RequestModel 2025-08-06 08:39:35 +05:30
Manas Hejmadi
882b393fdd SSE: Stopping/Cancelling implementation 2025-06-29 17:06:21 +05:30
Ankit Mahato
7096c2f301 Update request model 2025-06-29 01:21:52 +05:30
Udhay-Adithya
f60c195510 feat: update RequestModel to include default preRequestScript and postRequestScript 2025-06-23 22:09:07 +05:30
Udhay-Adithya
fadf49372f feat: add support for pre-request scripts
Introduces `preRequestScript` and `postRequestScript` fields to the request model to store user-defined scripts.

Implements a service using `flutter_js` to execute JavaScript pre-request scripts before a request is sent.
The script can access and modify request data (like headers, body, URL) and environment variables.

Adds bridging to forward JavaScript `console.log`, `console.warn`, and `console.error` calls to the Dart console for easier debugging
2025-04-25 23:26:31 +05:30
Ashita Prasad
46df82185d Update APIType in request model 2024-12-10 05:09:39 +05:30
Ashita Prasad
a6791f1165 update freezed models 2024-12-10 05:03:35 +05:30
Ankit Mahato
58ace08ded Refactor models 2024-04-19 19:28:34 +05:30