Doubletree

Results 10 comments of Doubletree

请问我用VPS自带的docker-compose配置的镜像怎么调整config.py从而用第三方api呢,我在VPS的文件里找了一圈也没找到。 或者怎么修改docker-compose中的环境变量才能使用第三方API呢?

> > > > 添加环境变量不行么 EV的编辑格式是什么,我用VPS上的docker-compose配置的镜像,在yml里也可以调整环境变量,按理来说是和这个原理是一样的,但最后也没成功,我怀疑是我环境变量的格式不对

这是我的格式 `API_URL_REDIRECT: ' third-party url '`

> 替换url的格式:API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions": "[https://api.xxx.com/v1/chat/completions"}](https://api.xxx.com/v1/chat/completions%22%7D) 但是似乎有些插件在这里没有办法使用?比如知识库的构建。 用huggingface吧,可以用第三方api,也免费。

This error shows in the demo you created too since recently ![image](https://github.com/binary-husky/gpt_academic/assets/108912608/e39150e8-38cc-4bed-bd06-becb40922288)

btw, API2D works good in the Docker version on my VPS oversea.

App works fine on overseas VPS. I tried to modify app with EV config-private and config itself, the use-proxy are always False, still showed the same error. btw, the space...

Have u tried ur hf space using API2D key. I could provide my key for testing if u need

Nope, the problem resists

Now using VPS for replacement