-
Notifications
You must be signed in to change notification settings - Fork 12
Depending on google_cloud_ai_generativelanguage_v1beta disables support for the web #55
Copy link
Copy link
Closed
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-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.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
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>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-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.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.