Commit Graph

1666 Commits

Author SHA1 Message Date
Udhay-Adithya
c0bb09fd35 feat: make credentialsFilePath nullable in OAuth models and update related logic 2025-08-06 11:43:56 +05:30
Manas Hejmadi
8bc2cbeb7b StreamingDone Error Fixed & added Streaming Config to all 2025-08-06 10:43:26 +05:30
Manas Hejmadi
db599b3d74 Streaming Option added to AI Request Configurations 2025-08-06 10:43:26 +05:30
Manas Hejmadi
f60836e4b2 Added SSE(Streaming) to Native AI Requests 2025-08-06 10:43:26 +05:30
Manas Hejmadi
d0dc563ae7 LLMSelector: Implemented ability to add and remove LLMs dynamically 2025-08-06 09:00:23 +05:30
Manas Hejmadi
4209569aa5 Improved ShallowCopy of AIRequestModel and substructures 2025-08-06 09:00:23 +05:30
Manas Hejmadi
ab2a9d5ca7 initializeAIRequest moved out of api_type_dropdown & cleaned 2025-08-06 09:00:23 +05:30
Manas Hejmadi
49a93cacde AIRequests: Duplication Bug Fixed 2025-08-06 09:00:23 +05:30
Manas Hejmadi
2c756df2c4 Implemented AnswerTab for AI Output 2025-08-06 09:00:23 +05:30
Manas Hejmadi
452020f720 AI Request History & Duplication Feature 2025-08-06 09:00:23 +05:30
Manas Hejmadi
97d4a7a45b AIRequests: Removed AIResponseModel & sendRequest implemented 2025-08-06 08:59:25 +05:30
Manas Hejmadi
b890769854 AI Configuration Widgets simplified & separated 2025-08-06 08:39:35 +05:30
Manas Hejmadi
8a12ca7c5a initializeAIRequest: ModelController instantiation changed to use .instance 2025-08-06 08:39:35 +05:30
Manas Hejmadi
3882052cb5 AIRequests: URL is not modifiable for requests 2025-08-06 08:39:35 +05:30
Manas Hejmadi
ce56897320 initializeAIRequest on AIRequest Creation & ControllerUpdate issues fixed 2025-08-06 08:39:35 +05:30
Manas Hejmadi
22b8168b73 AIRequestFeature: Added Prompt, Authorization & Configuration Tabs 2025-08-06 08:39:35 +05:30
Manas Hejmadi
d923996dc8 AIProviderSelector Impl & AI Models added to RequestModel 2025-08-06 08:39:35 +05:30
Manas Hejmadi
90b4b99135 Added LLMSelectorWidget & Integrated with APIDash Settings 2025-08-06 08:39:35 +05:30
Ankit Mahato
35e14910d0 Update common_widgets.dart 2025-08-06 03:30:49 +05:30
Ankit Mahato
bc1dab9002 Merge branch 'main' into enhance-auth-fields 2025-08-06 03:05:33 +05:30
Ankit Mahato
0842a90c07 Rename _substituteAuthModel to substituteAuthModel
Changed the function name from _substituteAuthModel to substituteAuthModel for improved clarity and consistency. Updated its usage in substituteHttpRequestModel accordingly.
2025-08-06 03:04:17 +05:30
Ankit Mahato
3a233e2aec Update collection_providers.dart 2025-08-06 02:44:53 +05:30
Ankit Mahato
625254b20f Refactor auth handling in HTTP request functions
Removed redundant AuthModel parameter from sendHttpRequest and streamHttpRequest functions, now using authModel from HttpRequestModel directly. Updated all usages, tests, and related logic to reflect this change. Improved streaming response handling in CollectionStateNotifier and HttpResponseModel.
2025-08-06 02:42:23 +05:30
Ankit Mahato
81e967b1b3 Update collection_providers.dart 2025-08-06 00:44:00 +05:30
Ankit Mahato
d491f0540d Refactor SSE response handling and display
Updated response body widgets to handle SSE output as a list of strings instead of a single string. Adjusted view options for SSE-related media types and refactored SSEDisplay to be a stateless widget that accepts a list of SSE events. This improves clarity and consistency in handling and displaying SSE responses.
2025-08-06 00:32:02 +05:30
Ankit Mahato
ce2f98af07 import update 2025-08-05 23:03:48 +05:30
Ankit Mahato
3d8cf8ea2b Refactor SSE display widget styling and layout
Updated the SSE display widget to use ListView with improved padding and card styling. Switched to consistent use of kCodeStyle and theme-based colors, and simplified font size and color handling for better dark/light mode support.
2025-08-05 22:47:53 +05:30
Ankit Mahato
af87942bdd Remove unused imports from test and widget files
Cleaned up several files by removing unused import statements to improve code clarity and reduce unnecessary dependencies.
2025-08-05 21:22:16 +05:30
Ankit Mahato
be16016d95 Refactor dark mode color blending to extension method
Moved dark mode color blending logic to a Color extension (toDark) in the design system. Updated usages in ui_utils.dart and related tests to use the new extension. Removed the old getDarkModeColor function for cleaner and more idiomatic code organization.
2025-08-05 21:17:39 +05:30
Ankit Mahato
d1fe07ac8d Add 'Stop' label constant and use in SendButton
Introduces kLabelStop to consts.dart and updates SendButton to use the new constant when isStreaming is true, improving consistency in label management.
2025-08-05 19:50:13 +05:30
Ankit Mahato
9772ff9e5e Rename variables for clarity in CollectionStateNotifier
Renamed respModel and historyM to httpResponseModel and historyModel for improved code readability and consistency within the CollectionStateNotifier class.
2025-08-05 13:09:47 +05:30
Ankit Mahato
254530d9ae Refactor null checks in CollectionStateNotifier
Improved readability by expanding null checks with braces in CollectionStateNotifier methods. Also added a non-null assertion for historyM when adding a history request.
2025-08-05 12:48:54 +05:30
Ankit Mahato
f4e0f82125 Merge branch 'main' into better_networking/sse 2025-08-05 06:18:21 +05:30
Udhay-Adithya
69d9371c47 feat: enhance OAuth2Fields with token expiration handling 2025-08-03 16:31:12 +05:30
Udhay-Adithya
98d7375071 feat: add hints and info texts 2025-07-30 11:08:29 +05:30
Udhay-Adithya
027eada4f4 refactor: comment out unused oauth1 ui 2025-07-24 14:55:25 +05:30
Udhay-Adithya
728cc52d9c fix: improve oauth2 field 2025-07-23 12:48:10 +05:30
Udhay-Adithya
0c87374602 refactor: update OAuth1 fields and normalize signature method display type 2025-07-23 11:35:15 +05:30
Udhay-Adithya
a29f594f00 fix: auth header generation 2025-07-23 00:59:10 +05:30
Udhay-Adithya
bc779882f7 feat: implement oauth1 2025-07-22 23:09:15 +05:30
Udhay-Adithya
85030c72a6 feat: implement oauth1 authentication fields in AuthPage 2025-07-21 23:34:26 +05:30
Udhay-Adithya
f458d00341 feat: add oauth2 credential file handling 2025-07-21 23:07:34 +05:30
Udhay-Adithya
4e924fc946 refactor: rename getTempFilePath to getDocumentsDirectoryFilePath for clarity 2025-07-21 21:54:02 +05:30
Udhay-Adithya
7c49ec9fe2 refactor: move EnvAuthField to common widgets directory 2025-07-21 21:10:47 +05:30
Udhay-Adithya
9bc2ac2105 feat: replace Column with ListView in auth fields 2025-07-21 20:42:53 +05:30
Udhay Adithya
95f68cf8b5 Merge branch 'foss42:main' into enhance-auth-fields 2025-07-21 11:57:18 +05:30
Udhay Adithya
a1e6521153 Merge branch 'foss42:main' into add-feature-oauth-2 2025-07-21 11:57:05 +05:30
Udhay-Adithya
fd4b05663c feat: add oauth2 ui and authorzation code grant handling 2025-07-20 23:07:58 +05:30
Udhay-Adithya
30f90f9f12 chore: remove unwanted debugPrint 2025-07-19 14:30:12 +05:30
Udhay-Adithya
770660a888 chore: remove unused import from api_key_auth_fields.dart 2025-07-19 14:29:38 +05:30