Skip to content

[PY] backend log timestamp leaked into the generated text by the gemini-3-pro-preview model #4117

@MengqinShen

Description

@MengqinShen

The flow of "multipart_tool_calling" in google-genai returns answer with numbers :
"011-25 15:58:15.908000 +0000 UTCm=+11.777006853\nThe image depicts a well-lit living room. In the foreground, there's a light grey, modern sofa with simple lines and buttonless cushions. It sits on a light wooden floor. A grey rug is partially visible at the very bottom of the image. Behind the sofa, large windows are covered by sheer white curtains that let in diffused natural light. On the left wall, near the top, there is a round, white vent. The walls are painted a neutral beige color."

The "numbers" (011-25 15:58...) appear to be a backend log timestamp leaked into the generated text by the gemini-3-pro-preview model. Since this is an experimental preview model, such artifacts can happen.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpythonPython

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions