VinF Hybrid Inference #2: Introduce ChromeAdapter class#8877
VinF Hybrid Inference #2: Introduce ChromeAdapter class#8877erikeldridge wants to merge 5 commits intoerikeldridge-vertex-apifrom
Conversation
|
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
Vertex AI Mock Responses Check
|
|
Closed in favor of #8932 |
This change minimally introduces a ChromeAdapter class to abstract interactions with Chrome's Prompt API.
To constrain the scope of the change, this only injects the adapter into the generateContent path. If we agree on this approach, a subsequent PR can inject the adapter into the generateContentStream and countTokens paths.
This builds on the API change added by #8874. The diff is against the erikeldridge-vertex-api branch used for that PR. Once we merge that change, we can re-diff this against the integration branch.