fix(safety): use gemini-3-flash-preview model
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f40726004e
commit
7951c2fd65
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ def check_with_gemini(image_bytes: bytes) -> ImageSafetyCheckResponse:
|
|||
client = genai.Client(api_key=settings.GEMINI_API_KEY)
|
||||
|
||||
response = client.models.generate_content(
|
||||
model="gemini-2.5-flash-preview-05-20",
|
||||
model="gemini-3-flash-preview",
|
||||
contents=[
|
||||
types.Content(
|
||||
parts=[
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue