chatanywhere / GPT_API_free

Free ChatGPT API Key,免费ChatGPT API,支持GPT4 API(免费),ChatGPT国内可用免费转发API,直连无需代理。可以搭配ChatBox等软件/插件使用,极大降低接口使用成本。国内即可无限制畅快聊天。
MIT License
24.24k stars 1.84k forks source link

dell-e-3 的 prompt 长度问题 #161

Closed leihao closed 10 months ago

leihao commented 10 months ago

Describe the bug 描述bug 好像超过1000中转层会报错,查了一下dell-e-3应该有4000 缩减文本长度后问题消失,判断是文本长度问题

To Reproduce 复现方法 直接调用API和用chatbox表现一致

遇到了来自 OpenAI API 的错误,一般是由错误设置或账户问题引起的。请检查 AI 设置和账户情况,或者[点击这里查看常见问题文档](https://chatboxai.app/redirect_app/faqs/zh-Hans)。

API Error: Status Code 500, JSON parse error: 参数异常; nested exception is com.fasterxml.jackson.databind.JsonMappingException: 参数异常 at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 1, column: 11] (through reference chain: cn.chatanywhere.openaiapi.entity.images.Image["prompt"])

prompt:

This is an illustration of an anthropomorphic wolf character with human-like muscular features. The character has a head with wolf-like facial features such as a snout, ears, and fur, as well as an expression that shows a cheerful demeanor or smile. The character's torso and arms are extremely muscular, resembling a bodybuilder's physique, and are covered in brown and white fur.The wolf character is wearing a blue and white striped apron and what appears to be a leather bracelet on its left wrist. The character is standing in a kitchen setting, with wooden shelves stocked with various cooking-related items and ingredients such as spices, pots, and utensils. In front of the character is a wooden counter, and the wolf is stirring a bowl with a wooden spoon. On the counter, there are additional cooking items, including a few eggs, salt and pepper shakers, a bottle, and a spatula.The kitchen has a warm and inviting atmosphere with a stove visible in the background, and there is a clock on the wall indicating a time of around 10:10. The overall image depicts a domestic scene that combines elements of fantasy with everyday life, centered around cooking or preparing a meal.

Screenshots 截图 image

Tools or Programming Language 使用的工具或编程语言 Describe in detail the GPT tool or programming language you used to encounter the problem

Additional context 其他内容 Add any other context about the problem here.

chatanywhere commented 10 months ago

感谢反馈,问题已修复