Comments (7)
1、另外删除 令牌后 额度 视乎虚无了…
2 删除token 没二次确认 …
from one-api.
- 我也感觉令牌的消耗有点问题。
- 删除令牌后按理说无法使用了才对?难道你删完之后还可以用啊》
- 二次确认这个之后加上。
谢谢反馈,稍后处理。
from one-api.
视乎是夹带了上下文 😅> 我发送了一句话 (12个中文 消耗了 网站显示 用了2k的令牌。我用 openai token 计算也才26个
from one-api.
删除令牌
1。3.5好像是计算发送和上次回复(如果有)的吧。感觉 是吧回复的也计算进去了
2。应该是不能用 ,不过目前系统是有兑换按钮 目前如果 删除 了 兑换的次数不就找不回来了 🤔
from one-api.
- 是的,会把上下文算进去的,OpenAI 也是这样计费的,所以如果上下文很长是有可能一次消耗很多的。
- 是哦,删除后应该把剩余次数返还给用户,我忘记考虑这一点了。
from one-api.
我再次测试了一下,token 计算是正确的。
命令 ChatGPT 返回我们的输入,这样可以固定其输出。stream 模式和非 stream 模式下的 token 数一致:
from one-api.
删除时返还剩余额度已实现。
from one-api.
Related Issues (20)
- 请求支持 OpenAPI 逆向的 gpt-4-all渠道 HOT 1
- openai请求出现http: wrote more than the declared Content-Length
- 渠道重试优先级一个不合理的设计 HOT 17
- GPTS支持 HOT 3
- 希望高优先级有多个渠道时不要忽略优先级重试 HOT 1
- 使用pgsql报错
- Make deployable in Heroku
- 能否增加 linux/arm64 的 docker 镜像发布版本,对于使用 macOS 的用户会更友好
- 是否可以加入月之暗面moonshot大模型的支持?
- Berry 主题下 Moonshot AI 选项 的 ID 错了 HOT 1
- 无法接入 阿里云的EAS 部署的chatglm3-6b,请求各路大哥解惑 HOT 4
- 主题berry:错误:请稍后几秒重试,Turnstile 正在检查用户环境!
- windows11系统,每次开机启动docker desktop后,One_api的所有设置都会消失?
- 通过调api方式生成的新令牌,返回体中能包含新令牌吗 HOT 1
- berry主题:关闭密码注册后,前端使用密码注册,提示 Turnstile 正在检查用户环境! HOT 2
- go build -o one-api no Go files in /home/lebron/Desktop/go
- 希望增加gemini-1.5-pro模型的支持 HOT 6
- 支持调用阿里的embedding的服务吗?
- 下游出现补全数据缺失的问题,但在上游的后台中能正常显示补全的token数并予以计费
- 加入仅自动检测被禁用的渠道
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.