Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add cohere support #1355

Merged
merged 2 commits into from
Apr 24, 2024
Merged

Conversation

ye4293
Copy link
Collaborator

@ye4293 ye4293 commented Apr 23, 2024

非流
image
image
流式
image
image
暂时没有支持tools,他的价格表command模型没有,所以采用的openrouter的
close #issue_number

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

@temberature
Copy link

Pricing - Affordable NLP & Language Model Solutions | Cohere
https://cohere.com/pricing

Default Model

Input

Output

Command R+

$3.00

/1M TOKENS

$15.00

/1M TOKENS

Default Model

Command R

$0.50

/1M TOKENS

$1.50

/1M TOKENS

@songquanpeng songquanpeng changed the title support cohere feat: add cohere support Apr 24, 2024
@songquanpeng songquanpeng merged commit 24f026d into songquanpeng:main Apr 24, 2024
@songquanpeng
Copy link
Owner

Thx~

mxdlzg pushed a commit to mxdlzg/one-api that referenced this pull request Apr 27, 2024
* support cohere

* chore: tiny improvements

---------

Co-authored-by: JustSong <[email protected]>
@ye4293 ye4293 deleted the my-feature-branch branch April 28, 2024 09:57
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.

3 participants