Skip to content

Prompt template issue in Gemini 2.0 and 1.5 (Its an issue with Gemini API not fast agent) #205

@usamaJ17

Description

@usamaJ17

I am facing an error on gemini-2.0-flash , gemini-2.0-flash-lite and gemini-1.5-flash , basically all models I tried below flash 2.5.
this is the error :
{'error': {'code': 400, 'message': '* GenerateContentRequest.contents[23].parts: contents.parts must not be empty.\n', 'status': 'INVALID_ARGUMENT'}}
I. think its due to some prompt template, as in langchain this issue is because of a prompt template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions