Comments (6)
+1 似乎是最新版引入的问题,我之前使用是正常的
data: {"id":"","object":"chat.completion.chunk","created":0,"model":"gemini","choices":[{"index":0,"delta":{"content":"我是 Gemini,一个由 Google 开发的多模态 AI 模型。作为一个大型语言"},"finish_reason":"stop"}]}
data: {"id":"","object":"chat.completion.chunk","created":0,"model":"gemini","choices":[{"index":0,"delta":{"content":"模型,我接受了大量文本数据的训练,能够理解和生成人类语言、回答问题并提供信息。我不断学习和完善,致力于提供全面"},"finish_reason":"stop"}]}
data: {"id":"","object":"chat.completion.chunk","created":0,"model":"gemini","choices":[{"index":0,"delta":{"content":"且有帮助的响应。"},"finish_reason":"stop"}]}
data: [DONE]
from one-api.
我也遇到了 同样的问题 每一次的 调用结果 都是 "finish_reason": "stop" 但是 只有 最后一个包分发完毕的 才是 "stop"
from one-api.
这个bug还没修复吗?
from one-api.
看样子还没有解决,bug状态是open
from one-api.
看样子还没有解决,bug状态是open
回退到 v0.6.6-alpha 可以,但会少一些近期更新的东西。项目维护的人好像很少,更新功能的同时,可能会引入一些 bug。
要么另外开个稳定的 one-api 来过渡,或者接入 litellm、AI-Gateway
from one-api.
ok 非常感谢~
from one-api.
Related Issues (20)
- 部署新版本后怎样加入原版本的配置? HOT 2
- 通义千问空请求. HOT 2
- 星火认知Lite 报错 HOT 4
- Zhipu 渠道 glm-4 模型,流式回答被截断
- 腾讯的混元模型 API 接口更新了 HOT 1
- 高并发下出现bug,导致程序崩溃
- 不支持dify HOT 1
- 流输出无法正确报错
- zeabur部署最新版报错 HOT 1
- 星火认知大模型的Spark Lite模型支持 HOT 4
- 增加 coze bot api的请求接口 HOT 1
- 讯飞星火大模型一直报websocket:bad handshake HOT 1
- 本地部署不能调用 HOT 1
- cannot unmarshal object into Go struct field ChatCompletion.tool_choice of type string
- coze渠道无法使用
- root 密码忘记了登录不上,也没有绑定邮箱,就无法重置密码了
- 添加渠道
- GPT4o image输入格式有问题
- 无法用阿里的 stable-diffusion-xl wanx-v1 在 open-webui 里生成图片 HOT 2
- default 主题下无法新增 Coze 渠道 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from one-api.