continuedev / continuedev/continue
Error: GPT-4o Mini - 400
Open
Nobody has claimed this yet.
area:tools
kind:bug
stale
- Dominant language
- TypeScript
- Stars
- 36k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Error Details
Model: GPT-4o Mini
Provider: openai
Status Code: 400
Error Output
400 Invalid 'messages[69].tool_calls[0].function.name': empty string. Expected a string with minimum length 1, but got an empty string instead.
Additional Context
Please add any additional context about the error here
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 tracing the GPT-4o Mini request path for the openai provider and how tool-call function names are assembled. Reproduce the 400 response, then determine why an empty name reaches messages[69].tool_calls[0].function.name. Done means the request no longer sends an empty function name and the failure case is covered by a test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- ai
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100