Skip to content

零一万物的模型价格错误了#1182

Merged
songquanpeng merged 1 commit intosongquanpeng:mainfrom
ye4293:test
Mar 17, 2024
Merged

零一万物的模型价格错误了#1182
songquanpeng merged 1 commit intosongquanpeng:mainfrom
ye4293:test

Conversation

@ye4293
Copy link
Copy Markdown
Contributor

@ye4293 ye4293 commented Mar 16, 2024

image
上面是官方的文档,以第一个模型为例 2.5/7/1000/0.002=0.178571 代码中计算的时候不应该除以1000000而是1000
close #issue_number

我已确认该 PR 已自测通过,相关截图如下:
(此处放上测试通过的截图,如果不涉及前端改动或从 UI 上无法看出,请放终端启动成功的截图)

@songquanpeng songquanpeng merged commit 1d7470d into songquanpeng:main Mar 17, 2024
@songquanpeng
Copy link
Copy Markdown
Owner

确实,RMB 里已经除了一次了

SheldonLiu0412 pushed a commit to SheldonLiu0412/one-api that referenced this pull request Jan 23, 2025
iceyarmu pushed a commit to iceyarmu/one-api that referenced this pull request Jun 10, 2025
…ontent

fix(mistral): adjust condition for assistant content with tool call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants