CommandCodeAI / CommandCodeAI/command-code
Getting error on gpt models
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 4k
- Forks
- 350
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Der Bericht nennt keine Quelldatei, keinen Test und keinen Einstiegspunkt. Beginne damit, den Fehler mit einem GPT-Modell unter Windows mit cmd.exe zu reproduzieren, und verfolge dann, wo der OpenAI-Eingabename 128 Zeichen überschreitet. Als erledigt gilt die Aufgabe, wenn die Anfrage diesen Validierungsfehler nicht mehr erzeugt und ein Regressionstest den fehlschlagenden Fall abdeckt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- ai, cli
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100