Commit Graph

3299 Commits

Author SHA1 Message Date
Ankit Mahato
9d50e3f09c Add default AI model selection to settings
Replaces the previous placeholder for default LLM selection with a working default AI model selector in settings. Updates SettingsModel and related providers to support storing and updating the default AI model as a JSON object. Integrates the selector UI and ensures new AI requests use the default model if set.
2025-08-29 01:27:32 +05:30
Ankit Mahato
7b7daa7dac Add AI request model support and improve type handling
Refactored collection state management to handle API type changes and AI request models. Updated widgets and tests to support nullable HTTP methods and AI request models, and improved response body rendering for AI responses.
2025-08-28 23:34:28 +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
Aman Gupta
810270c466 Update pubspec.yaml to losen better_networking sdk constraints 2025-08-25 00:30:55 +05:30
Manas Hejmadi
36f58ba26a DefaultLLMSelectorDialog: ResponsiveUI added 2025-08-18 00:40:13 +05:30
Udhay-Adithya
6eec8de39b fix: state management for signature method and code challenge method in OAuth fields 2025-08-16 22:03:39 +05:30
Manas Hejmadi
db326b434a genai: Fixed ModelSelector InkWell Bleed & made it visible in History 2025-08-16 16:02:34 +05:30
Udhay-Adithya
8aaa0b365e docs: add authentication user guide 2025-08-11 19:55:29 +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
Ankit Mahato
c7df3b5926 Update README.md 2025-08-11 00:42:26 +05:30
Ankit Mahato
d7d504c822 Update README.md 2025-08-11 00:42:01 +05:30
Ankit Mahato
ed29bf6b3c Merge pull request #869 from Udhay-Adithya/use-explicit-decendant
use find.descendant for ExtendedTextField widgets
2025-08-11 00:40:47 +05:30
Udhay-Adithya
58de8e6d06 feat: use find.descendant for ExtendedTextField widgets 2025-08-09 15:57:32 +05:30
Manas Hejmadi
e06bddca54 SSEDislay: SelectedModel provided via parameter & StreamingFixes 2025-08-09 15:53:22 +05:30
Udhay-Adithya
a12254ba7e fix: improve OAuth authentication tests to handle null data cases 2025-08-07 22:18:14 +05:30
Udhay-Adithya
fbbbcbae05 fix: update sendHttpRequest to sendHttpRequestV1 for digest authentication 2025-08-07 22:09:49 +05:30
Udhay-Adithya
a30ad769b7 fix: remove unnecessary logging 2025-08-07 16:31:27 +05:30
Udhay-Adithya
18128114f6 fix: remove unnecessary setState when the value changes, which causes the EnvAuthField widget to rebuild and the cursor position to reset 2025-08-07 15:42:29 +05:30
Udhay-Adithya
51244831e7 docs: add oauth authentication limitations documentation 2025-08-07 13:38:08 +05:30
Udhay-Adithya
15368d825c fix: align clear OAuth2 session button to the right 2025-08-07 13:26:37 +05:30
Udhay-Adithya
98d4b84493 feat: enhance oauth1 and oauth2 models to support env variable substitution 2025-08-07 13:19:42 +05:30
Udhay-Adithya
b3e0411b4a feat: depreciate timeago 2025-08-07 13:04:22 +05:30
Udhay-Adithya
1dece55482 test: update oauth1 and oauth2 tests for EnvAuthField 2025-08-07 12:46:56 +05:30
Udhay-Adithya
d33f93f784 feat: add env vars support for OAuth1 and OAuth2 authentication fields 2025-08-07 10:22:43 +05:30
Udhay-Adithya
a10d44ee90 test: add comprehensive tests for oauth fields 2025-08-07 00:55:52 +05:30
Udhay Adithya
6914bcdc9c Merge branch 'foss42:main' into add-feature-oauth-2 2025-08-07 00:32:08 +05:30
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
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