Skip to content
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

[Vertex AI] Add APIConfig to support switching to the Developer API #14521

Merged
merged 12 commits into from
Mar 5, 2025
Prev Previous commit
Next Next commit
Add InstanceKey docs
  • Loading branch information
andrewheard committed Mar 4, 2025
commit 46b56b15d30a077d17fdb58ea1367af5b3279981
3 changes: 3 additions & 0 deletions FirebaseVertexAI/Sources/VertexAI.swift
Original file line number Diff line number Diff line change
@@ -267,6 +267,9 @@ public class VertexAI {
}
}

/// Identifier for a unique instance of ``VertexAI``.
///
/// This type is `Hashable` so that it can be used as a key in the `instances` dictionary.
private struct InstanceKey: Sendable, Hashable {
let appName: String
let location: String?
Loading