Commit Graph

416 Commits

Author SHA1 Message Date
Ankit Mahato
0a70518366 revert genai_test.dart 2025-08-31 11:56:01 +05:30
Manas Hejmadi
2f5f243fed REFACTOR: toolgen files code splitting 2025-08-30 02:49:56 +05:30
Manas Hejmadi
6e36cd40d3 ai_ui_designer_widgets split into multiple files 2025-08-29 22:05:48 +05:30
Manas Hejmadi
fc3009f8fb Basic Agentic Infrastructure created 2025-08-29 02:37:42 +05:30
Ankit Mahato
6e1f2b4773 Refactor AI model selection and config handling 2025-08-28 06:42:32 +05:30
Ankit Mahato
8fa3433cf8 Update http_service.dart 2025-08-27 02:08:53 +05:30
Ankit Mahato
72fea1ba65 Refactor genai package to new modular interface
Reorganized the genai package by removing legacy LLM-related files and introducing a new modular interface under the 'interface' directory. Added provider-specific model classes, centralized constants, and updated the example to use the new API and data structures. Updated exports in genai.dart and improved dependency management.
2025-08-27 02:08:36 +05:30
Manas Hejmadi
30075a6d95 genai: Minor Refactoring and Corrections 2025-08-11 15:10:13 +05:30
Manas Hejmadi
eb852df646 genai: README & License Updated 2025-08-11 03:30:43 +05:30
Ankit Mahato
d8d5f70379 Move example to genai_example
Renamed the example directory to genai_example, updated package name in pubspec.yaml, and added pubspec_overrides.yaml for local dependency overrides. Updated pubspec.lock to reflect new and overridden dependencies.
2025-08-11 01:16:07 +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
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
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
Manas Hejmadi
058d95ab32 genai modified to use the latest streamHttpRequest 2025-08-06 08:35:33 +05:30
Manas Hejmadi
dc5af42cfe genai: Example Project added + README 2025-08-06 08:35:33 +05:30
Manas Hejmadi
c05a42be47 models.json added for RemoteModel Fetch feature 2025-08-06 08:35:33 +05:30
Manas Hejmadi
7a9afc614b REFACTOR: Improved Package Structure 2025-08-06 08:35:33 +05:30
Manas Hejmadi
26d27eba80 AIRequestModel & AIResponseModel Created 2025-08-06 08:35:33 +05:30
Manas Hejmadi
69e3882357 Providers: Implemented anthropic, gemini, openai & azureopenai 2025-08-06 08:35:33 +05:30
Manas Hejmadi
a6d1c410d6 Implemented SaveObject, LLMModel class & OllamaProvider 2025-08-06 08:35:33 +05:30
Manas Hejmadi
effe414268 genai: Created Package & implemented LLM Config, Manager & Request 2025-08-06 08:35:33 +05:30
Ankit Mahato
6bbd8d75d2 Update http_client_manager_test.dart 2025-08-06 03:25:56 +05:30
Ankit Mahato
82fe3e710b Disable tests running twice 2025-08-06 03:17:43 +05:30
Ankit Mahato
01553fc1f4 Update sse_test.dart 2025-08-06 03:17:27 +05:30
Ankit Mahato
bc1dab9002 Merge branch 'main' into enhance-auth-fields 2025-08-06 03:05:33 +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
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
c4d6965e93 Simplify cancellation test assertions
Refactored test assertions in gql_test.dart and sse_test.dart to remove the 'reason' parameter from expect calls, making the code more concise.
2025-08-05 19:02:22 +05:30
Ankit Mahato
2680392c2a Update REST API test endpoints and assertions
Changed test URLs from jsonplaceholder to api.apidash.dev and api.github.com. Updated test assertions to match new response formats and status codes. Added debug prints and improved cancellation test logic for streamHttpRequest. Enhanced overrideContentType tests for header validation.
2025-08-05 18:58:22 +05:30
Ankit Mahato
3bdc5cd5c9 Use media type parser for streamed response
Replaces direct access to 'content-type' header with getMediaTypeFromHeaders for improved MIME type extraction in streamHttpRequest.
2025-08-05 17:18:58 +05:30
Ankit Mahato
304447bf17 Expand streaming response types and subtypes
Added more constants for streaming-related MIME subtypes and updated kStreamingResponseTypes to include additional formats. This improves support for various streaming response types in the networking package.
2025-08-05 16:22:27 +05:30
Ankit Mahato
ae478c85ed Reorder imports in http_response_utils.dart
Moved the 'dart:convert' import to the top of the file for consistency with Dart import conventions.
2025-08-05 15:47:04 +05:30
Ankit Mahato
c3bec79176 Update README.md 2025-08-05 15:28:13 +05:30
Ankit Mahato
06bb997d2d Update README formatting and license info
Removed emoji and improved markdown formatting for consistency. Updated maintainer section and changed license reference from MIT to Apache License 2.0.
2025-08-05 13:16:06 +05:30
Ankit Mahato
257b30a1e9 Add authData parameter to HTTP request functions
Introduces an optional AuthModel parameter to sendHttpRequest and streamHttpRequest, allowing authentication handling for HTTP requests. Updates all usages and tests to pass null for the new parameter where authentication is not required.
2025-08-05 12:49:33 +05:30
Ankit Mahato
f4e0f82125 Merge branch 'main' into better_networking/sse 2025-08-05 06:18:21 +05:30
Ankit Mahato
95586abffc Update http_service.dart 2025-08-05 06:04:25 +05:30
Udhay-Adithya
2253d6a2b4 feat: add obscureText handling and add suffixIcon parameter to getTextFieldInputDecoration 2025-07-19 14:23:12 +05:30
Ankit Mahato
351131f99d Update pubspec.yaml 2025-07-14 01:19:54 +05:30
Ankit Mahato
32dcbda803 JWT refactor 2025-07-12 23:36:27 +05:30
Ankit Mahato
447cbd4fa7 refactor for digest 2025-07-12 18:04:19 +05:30
Ankit Mahato
33acbc8e5e Update pubspec.yaml 2025-07-12 18:04:11 +05:30
Udhay-Adithya
3ca5255e8f fix: pass null for authData in sendHttpRequest for digest authentication to prevent infinite loop when realm and nonce are empty 2025-07-12 00:43:44 +05:30
Manas Hejmadi
458e8c4fbe Modified SSE Display to support DarkMode 2025-07-08 04:12:04 +05:30