googleapis / googleapis/python-genai

[Fails on AI Studio] Function calling produces internal error in gemini-2.5-flash-native-audio-preview-09-2025

Aperta
#1,832 5 commenti 2 reazioni 1 assegnatario Rivendicata da @Venkaiahbabuneelam Vedi su GitHub
priority: p2 type: bug
Lingua principale
Python
Stelle
4k
Fork
1k
Merge medio
2g 12h
PR unite (30g)
41

Descrizione

Hello team, there is a problem with the latest Gemini live model `gemini-2.5-flash-native-audio-preview-09-2025`. This is making it impossible to build over this model. Since you are discontinuing all other live models, we are faced with no other choice than abandon Gemini live or have our production disrupted :( please restore our trust in Gemini.

30-second screen recording of the bug: https://www.loom.com/share/872933b0dd2d42bd848cff74bbe1cf71

#### Environment details

- Programming language: NA
- OS: NA
- Language runtime version: NA
- Model version: `gemini-2.5-flash-native-audio-preview-09-2025`

#### Steps to reproduce

1. Go to live api studio: https://aistudio.google.com/live
1. Enable ‘Function calling’
1. Click ‘edit’ and go to the code editor
1. Paste the below json:
```
[
{
"name": "sendProductImageLinksTool",
"description": "Sends product images to the chat UI for display. Use this when showing product photos, comparisons, or visual references.",
"parameters": {
"type": "object",
"properties": {
"images": {
"type": "array",
"description": "Array of image objects with URL and pronounceable name (max 10 images)",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The image URL"
},
"pronounceableName": {
"type": "string",
"description": "A short, easy-to-pronounce name for this specific image (e.g., 'Nike Pegasus 41 - Side View', 'iPhone 15 - Front')"
}
},
"required": [
"url",
"pronounceableName"
],
"propertyOrdering": [
"url",
"pronounceableName"
]
}
},
"collectionTitle": {
"type": "string",
"description": "A generic title for the collection of images being shown (e.g., 'Nike Running Shoes', 'iPhone 15 Series', 'Washing Machine Comparison')"
}
},
"required": [
"images",
"collectionTitle"
],
"propertyOrdering": [
"images",
"collectionTitle"
]
}
}
]
```

5. Save
6. Type “Show me images of iPhone” (or speak it)
7. You’ll see “Something went wrong” (Gemini internal error) - if it works, refresh the page (not just the app) and try again

PLEASE do not pull the plug on old working live models without fixing critical issues with `gemini-2.5-flash-native-audio-preview-09-2025`.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.