mirror of
https://github.com/hanzoai/firebase-js-sdk.git
synced 2026-10-30 14:46:17 +00:00
703 B
703 B
@firebase/ai, firebase
| @firebase/ai | firebase |
|---|---|
| minor | minor |
Deprecated VertexAIBackend in favor of AgentPlatformBackend to reflect the renaming of Vertex AI to Gemini Enterprise Agent Platform.
The only difference for AgentPlatformBackend is the default location for accessing the model. The default location for AgentPlatformBackend is global, whereas the default location for VertexAIBackend is us-central1. To use us-central1 with AgentPlatformBackend, specify getAI(app, { backend: new AgentPlatformBackend('us-central1') }) when initializing the SDK. However, note that most new Gemini models do not support us-central1.