feat: migrate GeminiEngine to google-genai SDK with Google Search grounding (refs #233)
Replace vertexai.generative_models with google.genai client pattern. Add Google Search grounding tool to VIN decode for improved accuracy. Convert response schema types to uppercase per Vertex AI Schema spec. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -29,7 +29,7 @@ class Settings:
|
||||
os.getenv("VISION_MONTHLY_LIMIT", "1000")
|
||||
)
|
||||
|
||||
# Vertex AI / Gemini configuration
|
||||
# Google GenAI / Gemini configuration
|
||||
self.vertex_ai_project: str = os.getenv("VERTEX_AI_PROJECT", "")
|
||||
self.vertex_ai_location: str = os.getenv(
|
||||
"VERTEX_AI_LOCATION", "global"
|
||||
|
||||
Reference in New Issue
Block a user