Skip to content

Depending on google_cloud_ai_generativelanguage_v1beta disables support for the web #55

@csells

Description

@csells

Depending on google_cloud_ai_generativelanguage_v1beta disables support for the web. Here is the report from pana when attempting to use it from dartantic_ai:

<details>
<summary>
Package not compatible with platform Web
</summary>

Because:
* `package:dartantic_ai/dartantic_ai.dart` that imports:
* `package:dartantic_ai/src/providers/providers.dart` that imports:
* `package:dartantic_ai/src/providers/google_provider.dart` that imports:
* `package:dartantic_ai/src/embeddings_models/google_embeddings/google_embeddings_model.dart` that imports:
* `package:google_cloud_ai_generativelanguage_v1beta/generativelanguage.dart` that imports:
* `package:googleapis_auth/auth_io.dart` that imports:
* `package:googleapis_auth/src/oauth2_flows/authorization_code_grant_server_flow.dart` that imports:
* `dart:io`
</details>

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions