Skip to content

Conversation

@tejas5038
Copy link

  • Add ModelLoader class for proper resource management
  • Implement AbortController for cancellable model loading
  • Improve error handling for network failures
  • Add comprehensive unit and integration tests
  • Maintain backward compatibility with existing API

Fixes: modelAssetPath results in inefficient loading and crashes

@google-cla
Copy link

google-cla bot commented Nov 29, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

- Add ModelLoader class for proper resource management
- Implement AbortController for cancellable model loading
- Improve error handling for network failures
- Add comprehensive unit and integration tests
- Maintain backward compatibility with existing API

Fixes: modelAssetPath results in inefficient loading and crashes
@tejas5038 tejas5038 force-pushed the fix-modelassetpath-loading branch from 3ec83db to 9b40611 Compare November 29, 2025 01:21
@tejas5038
Copy link
Author

can someone help in reviewing this or merging into mainline

@@ -0,0 +1,68 @@
/**
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have created new model class for handler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant