gemini-cli-extensions / gemini-cli-extensions/conductor
API 400 death loop with function response
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 295
- Avg merge
- 9m
- Merged PRs (30d)
- 1
Description
I've now hit this 3 times in the last couple of days. Once its in this loop, gemini cli will not respond to any prompts. I must delete tmp folders.
[API Error: [{
"error": {
"code": 400,
"message": "Please ensure that the number of function response parts is equal to the number of function call parts of
the function call turn.",
"errors": [
{
"message": "Please ensure that the number of function response parts is equal to the number of function call
parts of the function call turn.",
"domain": "global",
"reason": "badRequest"
}
],
"status": "INVALID_ARGUMENT"
}
}
]]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Gemini CLI 400 error involving mismatched function response and function call parts. Inspect the temporary folders involved in recovery and determine what state persists after the loop; done means the CLI accepts subsequent prompts without requiring those folders to be deleted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100