uihoh0
uihoh0
同样的问题,使用env进行配置时,向量化时返回的错误时401, provider: siliconcloud, 但如果通过webui配置openai key为对应的SILICONCLOUD_API_KEY, 向量化返回的错误是413, 可判断出来embedding model是用了siliconcloud,但是key还是用的openai key... 关键的env配置如下 ``` SILICONCLOUD_API_KEY=sk-xxxxxxxxxxxx SILICONCLOUD_PROXY_URL=https://api.siliconflow.cn/v1/ DEFAULT_FILES_CONFIG=embedding_model=siliconcloud/netease-youdao/bce-embedding-base_v1 ```
> 同样的问题,使用env进行配置时,向量化时返回的错误时401, provider: siliconcloud, 但如果通过webui配置openai key为对应的SILICONCLOUD_API_KEY, 向量化返回的错误是413, 可判断出来embedding model是用了siliconcloud,但是key还是用的openai key... > > 关键的env配置如下 > > ``` > SILICONCLOUD_API_KEY=sk-xxxxxxxxxxxx > SILICONCLOUD_PROXY_URL=https://api.siliconflow.cn/v1/ > DEFAULT_FILES_CONFIG=embedding_model=siliconcloud/netease-youdao/bce-embedding-base_v1 > ``` 刚刚去看了代码实现,代码实现是通过从DEFAULT_FILES_CONFIG 截取 PROVIDER 来组合提取env中存在的`${PROVIDER}_API_KEY`,`${PROVIDER}_PROXY_URL` 来构建对应的请求的,如果没有`${PROVIDER}_API_KEY`会使用OPENAI_API_KEY来兜底,兜底这个行为本身需要斟酌,因为可能导致没有正确配置的环境把openai的key暴露到不匹配的provider,但是代码逻辑本身没有问题。 最后我使用相同环境下重新部署了一次,没有再次复现这个问题。...
> #7259 Having read through #7259, but really strongly need to use the FULL PUBLIC_PATH(with domain & port) in development. Because the project is running as a sub-app by another...
Find out a solution provided by webpack itself. For the document, pls check out this [page](https://webpack.js.org/concepts/output/#advanced). Solution code: ```js // add these lines in your entry(e.g. 'src/index.js') if(process.env.NODE_ENV === 'development'){...
Same issues with expo here, begging for solution or advice.
@phated Sorry,my bad.But the async completion just to help Gulp detect if the task done,so that it can move on to the next task,right?And now I did the signaling ,this...
I noticed that gulp.watch was base on chokidar.And tried to find some solutions on chokidar's repo. And there were many similar Issues in chokidar.Now I'm sure this should be **a...
similar bug translate-toolkit 3.8.4 test case ```json { "promotetitle": "21232", "promotegift": "21232", "promoteendsinNdays": "21232", "promoteenddate": "21232", "promoteextradeal": "21232", "promotetagtext": "21232", "pormotebannertext": "21232", "pormotebannertimerange": "21232" } ``` weblate :  wrong...