Open mdarino opened 1 month ago
In English: 'Generate a list of ingredients for the following menu: "Te con leche"' Work well On www.gemini.google.com, all prompts respond as expected (just in case I tested them)
Hi @mdarino
I have escalated this to internal team.
Description of the bug:
I have a Python script that generates menus by reading them from a list and completing a prompt (the prompts are in Spanish). However, for some reason, certain prompts return a ValueError. After some testing, I was able to reduce the issue to a small script, shown below:
When I change the menu (e.g., to "Té con leche"), it fails, and the error message is not clear enough for me to understand the cause, it shows
"finish_reason": "OTHER"
Actual vs expected behavior:
Some examples:
1 -
RESULT OK:
2 -
Any other information you'd like to share?
Another example:
Prompt:
'Genera una lista de ingredientes del siguiente menu: "Pizza Mexicana (carne, jalapeños, frijoles, mozzarella)"',
RESULT NOT OK:
But Prompt:
'Genera una lista de ingredientes del siguiente menu: "Pizza de camarones (camarones, ajo, mozzarella)"',
RETURN OK: