Skip to content

GenerateContentRequest.contents[3].parts: contents.parts must not be empty #100

@simonw

Description

@simonw

Got this while trying out tools against the new 2.5 Flash Lite in:

llm 'what version of LLM?' -T llm_version -m gemini/gemini-2.5-flash-lite --td
Tool call: llm_version({})
  0.26

llm -c 'print it'
Error: * GenerateContentRequest.contents[3].parts: contents.parts must not be empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions