-
Notifications
You must be signed in to change notification settings - Fork 943
VinF Hybrid Inference #4: ChromeAdapter in stream methods (rebased) #8949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+172
−31
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
a3d869b
Define HybridParams
erikeldridge 14eee16
Copy over most types from @types package
erikeldridge b242749
Trim unused AI types
erikeldridge 5e97457
Assert HybridParams sets the model name
erikeldridge 1fe8a08
Use dom-chromium-ai package directly
erikeldridge 869fee7
Define ChromeAdapter class
erikeldridge ff31b42
Implement ChromeAdapter class
erikeldridge 1e487d5
Integrate with e2e test app
erikeldridge 8307fe5
Parameterize default in-cloud model name
erikeldridge 291c53b
Use type for inference mode and update docs
erikeldridge fe2bebc
Remove stray ai.ts
erikeldridge d4286d6
Run yarn format
erikeldridge b898cd0
Test request-based availability checks
erikeldridge 2fb2795
Remove request.systemInstruction validation
erikeldridge ef893c9
Integrate chrome adapter into stream methods
erikeldridge 4c37859
Refactor to emulate Vertex response
erikeldridge eb25fec
Group response formatting methods together
erikeldridge b8d849c
Run docgen
erikeldridge 1b9c98d
Re-remove isChrome
erikeldridge 5092bd8
Re-remove dom-chromium-ai
erikeldridge 025b786
Unit test stream method
erikeldridge 34c658e
Remove redundant ondevice suffix
erikeldridge 7af0f8d
Merge remote-tracking branch 'public/vaihi-exp' into erikeldridge-ver…
erikeldridge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.