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

如何更改open_ai_base地址 #37

Open
DeathGanker opened this issue Apr 28, 2024 · 3 comments
Open

如何更改open_ai_base地址 #37

DeathGanker opened this issue Apr 28, 2024 · 3 comments

Comments

@DeathGanker
Copy link

我是通过代理的方式访问openai网站,查看了源码没有找到更新open_ai_base的地址,请帮忙解答,感激不尽

@kimoji919
Copy link

设置模型那块,apibase可以直接改

@DeathGanker
Copy link
Author

你是说secrets.toml里么,只有azure的api_base,open_ai的没有设置项

@shaoyijia
Copy link
Collaborator

Hello, if you directly use the API provided by OpenAI, you do need to set api_base (i.e., you just need to leave that field empty). Check out OpenAI python API documentation for more information: https://github.com/openai/openai-python

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

No branches or pull requests

3 participants