continuedev / continuedev/continue
VSCode + Continue : Error: OpenAI GPT-4o mini - 400
Open
Nobody has claimed this yet.
area:tools
ide:vscode
kind:bug
- Dominant language
- TypeScript
- Stars
- 36k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Error Details
Model: OpenAI GPT-4o mini
Provider: openai
Status Code: 400
Error Output
400 Invalid 'messages[11].tool_calls[0].function.name': empty string. Expected a string with minimum length 1, but got an empty string instead.
Additional Context
This happens when I do this:
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
No file or test is named in the report. Reproduce the failure in VSCode with OpenAI GPT-4o mini, then trace Continue's OpenAI provider handling of tool calls and messages. Done means the request no longer contains an empty tool function name and the error is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- ai, api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100