Getting error on gpt models
还没有人认领这个 Issue。
评估
调研方向
报告没有指出源文件、测试或入口点。首先在 Windows 上使用 cmd.exe 通过 GPT 模型复现该错误,然后追踪 OpenAI 输入名称超过 128 个字符的位置。当请求不再产生此验证错误,并且回归测试覆盖失败案例时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- 没有语言数据
- 星标
- 4k
- 派生
- 350
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CommandCodeAI/command-code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/command-code#855 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
CommandCodeAI/command-code#841 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/command-code#655 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/command-code#608 ·
-
难度 3/5 1-2 天 新手友好度 70/100
CommandCodeAI/command-code#893 ·
查看 CommandCodeAI/command-code 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
JuliusBrussee/caveman#1102 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 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 未关闭area/compression area/local-models area/sessions comp/agent duplicate P2 sweeper:risk-session-state type/bug
难度 2/5 1-3 小时 新手友好度 82/100
NousResearch/hermes-agent#117793 · 1 条评论 ·
-
possible bug
难度 2/5 1-3 小时 新手友好度 88/100
Mintplex-Labs/anything-llm#6415 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 82/100