秋酿
秋酿
在渠道和令牌页面调整每页条数时后端未返回正确条数. 如前端改为单页 20 条, 请求参数为 `?p=0&page_size=20&id_sort=false` 时, 后端仍然返回了 10 条
使用了官方 API 和 OneAPI 中转测试后复现. 根据[官方文档链接](https://platform.openai.com/docs/api-reference/chat/create)和使用官方接口测试复现, 这个错误应该符合预期. - `UserMessage.content` 支持数组, 但是元素必须为 object, 包含 `type` 和 `text | image_url`, 并不支持 issue 中所说的 `list[str]` - 未测试 Playground, 怀疑 playground 是把你的数组当成字符串处理, 并没有定义为数组. -...
> 我的解决方法是注释掉 ./site-packages/openai/_base_client.py:581 行 其内容为: > > "Accept": "application/json", > > 我用的openai包版本为:1.11.0 @xqbumu 可以采用这个方式, 不需要修改 openai 包 ```python r = OPENAI_CLIENT.chat.completions.create( stream=True, model='MODEL_NAME', messages=messages, extra_headers={ 'Accept': 'text/event-stream', }, ) ```...
已经有一个 PR 处理此事 #979 等待开发者处理.
+1 可提供测试 Key
PS. 再次思考了一下, 其实意义不大, coze 的本质就无法做到商用. 感觉可以忽略.
Hi, glad to hear from you. But I'm sorry I don't have time to contribute at the moment. My personal understanding is that this doesn't really require a change `proxy`...