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

[Feature Request] OPENAI_API_KEY (必填项)这个配置有点不理解 #5539

Open
pensacola1989 opened this issue Sep 26, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@pensacola1989
Copy link

🥰 需求描述

OPENAI_API_KEY (必填项)
然后又看到了。custom_model,我现在的需求是,使用自己包装过的各种模型的代理

🧐 解决方案

能支持,自定义URL么?而不是某个模型的配置。。。

📝 补充信息

@pensacola1989 pensacola1989 added the enhancement New feature or request label Sep 26, 2024
@Issues-translate-bot
Copy link

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


Title: [Feature Request] OPENAI_API_KEY (required) This configuration is a bit unclear

🥰 Description of requirements

OPENAI_API_KEY (required)
Then saw it again. custom_model, my current requirement is to use the agents of various models that I have packaged

🧐 Solution

Can you support custom URLs? Rather than the configuration of a certain model. . .

📝 Supplementary information

None

@QAbot-zh
Copy link

支持自定义 url 的,如果不配置 BASE_URL ,就默认请求 openai,如果配置了,就请求你指定的 url

@Issues-translate-bot
Copy link

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


Supports custom URLs. If BASE_URL is not configured, openai will be requested by default. If configured, the URL you specify will be requested.

@pensacola1989
Copy link
Author

支持自定义 url 的,如果不配置 BASE_URL ,就默认请求 openai,如果配置了,就请求你指定的 url

我们包装了openapi等其他模型的接口一起的。。。不是个镜像代理,鉴权啥的都是自己的。。

@Issues-translate-bot
Copy link

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


Supports custom url. If BASE_URL is not configured, openai will be requested by default. If configured, the url you specify will be requested.

We wrap the interfaces of other models such as openapi together. . . It's not a mirror proxy, authentication and other things are all your own. .

@QAbot-zh
Copy link

QAbot-zh commented Sep 26, 2024

支持自定义 url 的,如果不配置 BASE_URL ,就默认请求 openai,如果配置了,就请求你指定的 url

我们包装了openapi等其他模型的接口一起的。。。不是个镜像代理,鉴权啥的都是自己的。。

反正接口参数跟 openai 一致就行,不需要是官方 key

@Issues-translate-bot
Copy link

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


Supports custom url. If BASE_URL is not configured, openai will be requested by default. If configured, the url you specify will be requested.

We package the interfaces of other models such as openapi together. . . It's not a mirror proxy, authentication and other things are all your own. .

Anyway, as long as the parameters are consistent with openai, it does not need to be an official key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants