inference_provider_sdk 1.0.2
inference_provider_sdk: ^1.0.2 copied to clipboard
Flutter/Dart SDK for Inference Provider API - Build powerful AI agents with RAG, tool calling, and MCP integration
We analyzed this package 3 hours ago, and awarded it 80 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/DevMayur/Inference_Provider_V2 was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/DevMayur/Inference_Provider_V2 was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/DevMayur/Inference_Provider_V2/issues was unreachable. Make sure that the website is reachable via HEAD requests.
Documentation URL doesn't exist.
At the time of the analysis https://github.com/DevMayur/Inference_Provider_V2/tree/main/sdks/flutter was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
42 out of 288 API elements (14.6 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: inference_provider_sdk.AIModel, inference_provider_sdk.AIModel.AIModel.fromJson, inference_provider_sdk.AIModel.AIModel.new, inference_provider_sdk.AIModel.createdAt, inference_provider_sdk.AIModel.id.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 52 issues. Showing the first 2:
ERROR: Target of URI hasn't been generated: 'package:inference_provider_sdk/src/models/agent.g.dart'.
lib/src/models/agent.dart:3:6
╷
3 │ part 'agent.g.dart';
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/agent.dart
ERROR: The method '_$AgentFromJson' isn't defined for the type 'Agent'.
lib/src/models/agent.dart:40:56
╷
40 │ factory Agent.fromJson(Map<String, dynamic> json) => _$AgentFromJson(json);
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/agent.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 52 errors:
URI_HAS_NOT_BEEN_GENERATED-lib/src/models/agent.dart:3:6- Target of URI hasn't been generated: 'package:inference_provider_sdk/src/models/agent.g.dart'.UNDEFINED_METHOD-lib/src/models/agent.dart:40:56- The method '_$AgentFromJson' isn't defined for the type 'Agent'.UNDEFINED_METHOD-lib/src/models/agent.dart:41:36- The method '_$AgentToJson' isn't defined for the type 'Agent'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.5, Dart 3.10.7.
Check the analysis log for details.