-
Notifications
You must be signed in to change notification settings - Fork 938
VinF Hybrid Inference: Implement ChromeAdapter (rebased) #8943
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
erikeldridge
merged 29 commits into
vaihi-exp
from
erikeldridge-vertex-adapterimpl-rebased
Apr 18, 2025
Merged
Changes from 23 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
47c48b3
Define HybridParams
erikeldridge 4b2b2a6
Copy over most types from @types package
erikeldridge ddcae13
Document HybridParams and InferenceMode
erikeldridge c46825b
Assert HybridParams sets the model name
erikeldridge 2d58976
Use dom-chromium-ai package directly
erikeldridge 35f03f6
Use type for inference mode and update docs
erikeldridge c1fa837
Run yarn format
erikeldridge b37b237
rebased and updated deps
hsubox76 97958ab
revert deps
hsubox76 9e1b32d
Remove erroneous type dep
erikeldridge b516b90
docgen
gsiddh 21d3aa1
Inject LanguageModel provider
erikeldridge 1f720b9
Run gendoc
erikeldridge 9763167
Define ChromeAdapter class
erikeldridge bf9de16
Implement ChromeAdapter class
erikeldridge be75b4f
Integrate with e2e test app
erikeldridge 50272f4
Remove stray ai.ts
erikeldridge a90440e
Run yarn format
erikeldridge 04b8334
Test model download logic
erikeldridge 8b6f483
Test request-based availability checks
erikeldridge 8056bc9
Test content generation
erikeldridge a32421d
Remove request.systemInstruction validation
erikeldridge d3176c2
Update content generator to emulate Vertex response
erikeldridge dc0628f
Remove redundant callVertex e2e test
erikeldridge 47f00b2
Document ChromeAdapter methods
erikeldridge b460b8b
Update yarn.lock
erikeldridge 8d9a493
Use package.json files from base branch
erikeldridge adef2fe
Stub chrome in positive test
erikeldridge 9304e47
Defer checking for Chrome
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@firebase/vertexai", | ||
"version": "1.2.1", | ||
"version": "1.2.0", | ||
"description": "A Firebase SDK for VertexAI", | ||
"author": "Firebase <[email protected]> (https://firebase.google.com/)", | ||
"engines": { | ||
|
@@ -56,8 +56,9 @@ | |
}, | ||
"license": "Apache-2.0", | ||
"devDependencies": { | ||
"@firebase/app": "0.11.4", | ||
"@firebase/app": "0.11.3", | ||
"@rollup/plugin-json": "6.1.0", | ||
"@types/dom-chromium-ai": "0.0.6", | ||
"rollup": "2.79.2", | ||
"rollup-plugin-replace": "2.2.0", | ||
"rollup-plugin-typescript2": "0.36.0", | ||
|
@@ -78,4 +79,4 @@ | |
], | ||
"reportDir": "./coverage/node" | ||
} | ||
} | ||
} |
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.
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.