hex_ai_llm 0.6.1 copy "hex_ai_llm: ^0.6.1" to clipboard
hex_ai_llm: ^0.6.1 copied to clipboard

Hex AI LLM provider layer - unified API for Anthropic, OpenAI, Google, and more

120/ 160
pub points
358
downloads

We analyzed this package 22 hours ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://gitee.com/850579014/hex was unreachable. Make sure that the website is reachable via HEAD requests.

Failed check 0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

119 out of 180 API elements (66.1 %) have documentation comments.

Some symbols that are missing documentation: hex_ai_llm.AnthropicProvider.AnthropicProvider.new, hex_ai_llm.ApiClient.ApiClient.new, hex_ai_llm.ApiClient.close, hex_ai_llm.ApiClient.defaultTimeout, hex_ai_llm.BuiltInModels.BuiltInModels.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:hex_ai_llm/hex_ai_llm.dart that imports:
  • package:hex_ai_llm/src/providers/openai_compatible_provider.dart that imports:
  • package:hex_ai_llm/src/providers/openai_provider.dart that imports:
  • package:hex_ai_llm/src/client/api_client.dart that imports:
  • dart:io
Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
collection ^1.18.0 1.19.1 1.19.1
hex_ai_core ^0.6.0 0.6.1 0.6.1
http ^1.2.1 1.6.0 1.6.0
json_annotation ^4.9.0 4.12.0 4.12.0
uuid ^4.5.1 4.6.0 4.6.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
crypto - 3.0.7 3.0.7
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.4.2 2.4.2
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/src/registry/provider_catalog.dart:215:13 - The named parameter 'peakMultiplier' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/src/registry/provider_catalog.dart:231:13 - The named parameter 'peakMultiplier' isn't defined.
  • UNDEFINED_GETTER - lib/src/utils/cost_calculator.dart:90:35 - The getter 'peakMultiplier' isn't defined for the type 'ModelCost'.

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.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
358
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Hex AI LLM provider layer - unified API for Anthropic, OpenAI, Google, and more

Repository

License

MIT (license)

Dependencies

collection, flutter, hex_ai_core, http, json_annotation, uuid

More

Packages that depend on hex_ai_llm