Getting error on gpt models
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
The report names no source file, test, or entry point. Start by reproducing the error with a GPT model on Windows using cmd.exe, then trace where the OpenAI input name exceeds 128 characters. Done means the request no longer produces this validation error and a regression test covers the failing case.
Written by the indexing model from the issue text.
Description
Summary
Error: 400 [OpenAI] Invalid 'input[10].name': string too long. Expected a string with maximum length 128, but got a string with length 134 instead.
Type "continue" to try again. If the issue persists, contact support: https://commandcode.ai/discord
Trace ID: e22dabbdaa260b594df3640bc7ec0040
Expected Behavior
Error: 400 [OpenAI] Invalid 'input[10].name': string too long. Expected a string with maximum length 128, but got a string with length 134 instead.
Type "continue" to try again. If the issue persists, contact support: https://commandcode.ai/discord
Trace ID: e22dabbdaa260b594df3640bc7ec0040
Actual Behavior
Error: 400 [OpenAI] Invalid 'input[10].name': string too long. Expected a string with maximum length 128, but got a string with length 134 instead.
Type "continue" to try again. If the issue persists, contact support: https://commandcode.ai/discord
Trace ID: e22dabbdaa260b594df3640bc7ec0040
Steps to reproduce the issue
Error: 400 [OpenAI] Invalid 'input[10].name': string too long. Expected a string with maximum length 128, but got a string with length 134 instead.
Type "continue" to try again. If the issue persists, contact support: https://commandcode.ai/discord
Trace ID: e22dabbdaa260b594df3640bc7ec0040
Command Code Version
Unknown
Operating System
Windows
Terminal/IDE
Unknown
Shell
cmd.exe
Session file (optional)
No response
Fix prompt (optional)
No response
Additional context
No response
- Dominant language
- No language data
- Stars
- 4k
- Forks
- 350
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from CommandCodeAI/command-code
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CommandCodeAI/command-code#855 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CommandCodeAI/command-code#841 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CommandCodeAI/command-code#655 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CommandCodeAI/command-code#608 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 70/100
CommandCodeAI/command-code#893 ·
All issues in CommandCodeAI/command-code
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
use-agent-os/agent-os#3263 ·
-
[Bug]: context-limit error parsing has no pattern for llama.cpp's "context size (N tokens)" phrasing Openarea/compression area/local-models area/sessions comp/agent duplicate P2 sweeper:risk-session-state type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NousResearch/hermes-agent#117793 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15236 · 1 comment ·