Skip to content

[Vertex AI] Log warning for unsupported model names #14610

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
merged 5 commits into from
Mar 24, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add VertexLog message codes for these warnings
  • Loading branch information
andrewheard committed Mar 24, 2025
commit 5e171904dbb8ef807a93fa576b6426b2c62d803e
2 changes: 2 additions & 0 deletions FirebaseVertexAI/Sources/VertexLog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ enum VertexLog {

// Generative Model Configuration
case generativeModelInitialized = 1000
case unsupportedGeminiModel = 1001

// Imagen Model Configuration
case imagenInvalidJPEGCompressionQuality = 1201
case unsupportedImagenModel = 1200

// Network Errors
case generativeAIServiceNonHTTPResponse = 2000
Expand Down