ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
74.37k stars 58.7k forks source link

[Feature Request] 能否添加对Deepbricks这家API供应商的API支持 #5023

Closed CCMAYNOTXX closed 1 month ago

CCMAYNOTXX commented 1 month ago

🥰 需求描述

如题,目前他家的API价格较低且支付便捷,请求作者增加支持

🧐 解决方案

如题

📝 补充信息

No response

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature Request] Can we add API support for Deepbricks, an API provider?

🥰 Description of requirements

As the title states, his API is currently relatively low-priced and easy to pay. I would like to ask the author to provide more support.

🧐 Solution

As title

📝 Supplementary information

No response

llccing commented 1 month ago

支持!

我用了另一个api供应商 - gptnb,希望提供类似的通用的选项,针对这些供应商。

非常感谢!

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


support!

I used another api provider - gptnb, hoping to provide similar common options for these providers.

Thank you so much!

lloydzhou commented 1 month ago

image

  1. 看起来Deepbricks的API基本兼容OpenAI的格式
  2. 可以把Deepbricks当作一个新的供应商使用即可,例如这里CUSTOM_MODELS=-all,+claude-3.5-sonnet@OpenAI 可以让这个claude3.5的模型以OpenAI的格式发送到Deepbricks的服务器。

image

image

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


image

  1. It seems that Deepbricks’ API is basically compatible with OpenAI’s format.
  2. You can use Deepbricks as a new supplier. For example, CUSTOM_MODELS=-all,+claude-3.5-sonnet@OpenAI here allows the claude3.5 model to be sent to the Deepbricks server in OpenAI format. .

image

image

CCMAYNOTXX commented 1 month ago

感谢回答,按照你的方法去操作之后,确实可以正常访问了,该API下的其他模型也可以用此方法调用,谢谢你提供的帮助:)

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


Thanks for the answer. After following your method, it can indeed be accessed normally. Other models under this API can also be called using this method. Thank you for your help:)

llccing commented 1 month ago

支持!

我用了另一个api供应商 - gptnb,希望提供类似的通用的选项,针对这些供应商。

非常感谢!

感谢回复,问题得到解决。

然后如果使用了 gptnb 的朋友可以按这个方式来配置, image

https://oneapi.gptnb.me

-all,+claude-3-5-sonnet-20240620@OpenAI=claude3.5 | Anthropic最新模型,+gemini-1.5-pro-latest@OpenAI=gemini-1.5-pro-latest | Google 最新模型,+gpt-4o=GPT-4o | OpenAI 最新模型

image

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


Support!

I used another api provider - gptnb, hoping to provide similar common options for these providers.

Thank you very much!

Thanks for the reply, the problem has been solved.

Then if you use gptnb, you can configure it in this way, image

https://oneapi.gptnb.me

-all,+claude-3-5-sonnet-20240620@OpenAI=claude3.5 | Anthropic latest model,+gemini-1.5-pro-latest@OpenAI=gemini-1.5-pro-latest | Google latest model,+gpt- 4o=GPT-4o | OpenAI latest model

image