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
Remove apiVersion and location options #8124
Conversation
|
Size Report 1Affected ProductsTest Logs |
Size Analysis Report 1Affected Products
Test Logs |
packages/vertexai/src/api.ts
Outdated
app: FirebaseApp = getApp(), | ||
options?: VertexOptions | ||
): Vertex { | ||
export function getVertex(app: FirebaseApp = getApp()): Vertex { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be getVertexAI now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix this in the merge with the other PR.
packages/vertexai/src/index.ts
Outdated
// getImmediate for FirebaseApp will always succeed | ||
const app = container.getProvider('app').getImmediate(); | ||
const appCheckProvider = container.getProvider('app-check-internal'); | ||
return new VertexService(app, appCheckProvider, { location }); | ||
return new VertexService(app, appCheckProvider); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VertexAIService?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix in the merge.
Re-add the apiVersion and location options. Slight modification to the revert, will not re-add the placeholder test. This reverts commit bf7d2d8.
These are not intended to be available options for private preview release.
Also removed a test file that seems to just be a placeholder.