-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Work constantly stops with "contents.parts must not be empty" #1585
Description
Describe the bug
I'm providing a detailed prompt to Goose to help build an app and set up some infrastructure, but Goose barely gets started before appearing to stop working. When I ask Goose to continue, I get an error that looks like this:
Ran into this error: Request failed: Request failed with status: 400 Bad Request. Message: * GenerateContentRequest.contents[7].parts: contents.parts must not be empty. .
To Reproduce
Steps to reproduce the behavior:
- Use Gemini Flash 2.0 or Flash 2.0 Exp
- Give it a bunch of instructions all at once
- See error
Expected behavior
It's odd that work would just "stop" and Goose returns to a prompt like it's waiting for something to do, and then to return this error.
Screenshots
Please provide following information:
- OS & Arch: This happens on Ubuntu Linux 22.04 using Goose CLI, and on MacOS using the Goose GUI
- Interface: both, UI on Mac, and CLI o Linux
- Version: v1.0.12
- Extensions enabled: None to my knowledge
- Provider & Model: Google Gemini, I've tried 2.0 Flash and 2.0 Flash-Exp
Additional context
The prompt file I'm providing to Goose lists instructions like "help me build a Python/FastAPI project with Alembic database migrations" where I give it a detailed list of parameters, and for the database I give it the database credentials and table names to make etc. but then it just ... stops working.
