Commit Graph

198 Commits

Author SHA1 Message Date
Ankit Mahato
db65c07dec Update collection_providers.dart 2025-11-17 06:24:35 +05:30
avisikta17pal
160faae64d fix(logging): redirect request validation warnings & errors to in-app console (#906, #587)
- Add GET-with-body validation warning to terminal console
- Add JSON validation error logging for invalid request bodies
- Add empty URL validation error logging
- Add request validation completion info logging
- Replace transient UI notifications with persistent terminal logs
- Maintain consistent logging format with categories and tags
- Fix duplicate terminal reference after autofix

Resolves #906: Migrate to in-app logging console
Resolves #587: Add a Global status bar in API Dash
2025-10-08 20:57:19 +05:30
Ankit Mahato
447085be0c Replace print with debugPrint and improve logging
Replaced print statements with debugPrint in tests for better Flutter logging practices. In js_runtime_notifier.dart, replaced print statements with structured logging via terminalStateProvider, providing more consistent and contextual log handling. Minor code style improvements were also made.
2025-09-28 14:57:43 +05:30
Ankit Mahato
3545c75cd5 Refactor terminal and remove duplicate code. 2025-09-28 13:55:32 +05:30
Udhay-Adithya
d48819b787 feat: add support for env vars 2025-09-21 16:30:12 +05:30
Udhay-Adithya
285717d7e5 fix: request id handling in js runtime notifier and terminal page 2025-09-21 16:16:35 +05:30
Udhay-Adithya
44acee2f7a refactor: move serialization methods for terminal entries from terminal page to terminal provider 2025-09-11 01:27:43 +05:30
Udhay-Adithya
5eee413b01 feat: update terminal entry constructor to initialize timestamp by default 2025-09-10 13:04:07 +05:30
Udhay-Adithya
3bb9fb2531 refactor: split terminal models 2025-09-10 12:55:42 +05:30
Udhay-Adithya
994137e38c feat: implement js logging in terminal logger 2025-09-10 12:32:18 +05:30
Udhay-Adithya
9d47d0b2a5 feat: implement js runtime provider and remove old script service 2025-09-09 17:30:50 +05:30
Udhay-Adithya
121aac80c9 feat: add terminal state provider to collection state provider 2025-09-07 23:49:14 +05:30
Udhay-Adithya
6db0f61321 feat: add terminal state provider 2025-09-07 23:48:55 +05:30
Ankit Mahato
ff262ff4df Update ai_providers.dart 2025-08-31 11:43:57 +05:30
Manas Hejmadi
2f5f243fed REFACTOR: toolgen files code splitting 2025-08-30 02:49:56 +05:30
Manas Hejmadi
41c729b85d REFACTOR: AIUI Designer & ToolGen Widgets moved to agentic_ui_elements 2025-08-29 21:07:13 +05:30
Manas Hejmadi
bf85fe59a8 aiApiCredentialProvider removed and replaced by Direct AIRequestModel credential save 2025-08-29 03:27:30 +05:30
Manas Hejmadi
79a9bed244 AIUI: PromptChanges + AIModelSelectorButton added to ToolGen 2025-08-29 02:57:45 +05:30
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
Manas Hejmadi
30075a6d95 genai: Minor Refactoring and Corrections 2025-08-11 15:10:13 +05:30
Manas Hejmadi
e06bddca54 SSEDislay: SelectedModel provided via parameter & StreamingFixes 2025-08-09 15:53:22 +05:30
Manas Hejmadi
db599b3d74 Streaming Option added to AI Request Configurations 2025-08-06 10:43:26 +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
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
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
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
65f375c69e Merge branch 'foss42:main' into basic-auth 2025-07-12 00:19:13 +05:30
Manas Hejmadi
c58f6e6705 collection_providers_test: SSE Output in ResponseBody tested 2025-07-07 20:14:09 +05:30
Manas Hejmadi
c5ce3bd3c4 SSE: Stop & Cancel Request buttons show up correctly 2025-07-04 16:20:35 +05:30
Udhay-Adithya
6c5862cd85 refactor: move authModel to HttpRequestModel 2025-07-03 12:12:18 +05:30
Manas Hejmadi
4207974b0e streamHttpRequest: Fixed TCP Length Clipping issue & Refactored Code 2025-07-03 02:27:16 +05:30
Manas Hejmadi
aef57df466 streamHttpRequest: Major Restructuring & other review changes 2025-07-03 01:01:07 +05:30
Udhay-Adithya
3903277aa9 chore: resolve merge conflicts 2025-07-02 21:03:16 +05:30
Udhay-Adithya
6c7c57d8fb fix: update environment model references and ensure correct request model is returned in pre-request script 2025-07-02 17:43:19 +05:30
Udhay-Adithya
fe6720f4c7 fix: ensure executionRequestModel is a copy to avoid modifying the original request model 2025-07-02 13:39:12 +05:30
Udhay-Adithya
737aac96ec fix: keep ui state consistent with the original request model when scripts are run 2025-07-01 20:03:22 +05:30
Udhay-Adithya
a17d6fdd9f chore: remove logging in EditAuthType 2025-07-01 01:16:01 +05:30
Udhay-Adithya
bf170e1446 feat: remove AuthModel from HttpRequestModel and integrate into HistoryRequestModel and RequestModel 2025-07-01 01:15:55 +05:30