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

如何内置插件的应用程序令牌 (例如wolframalpha) #20

Open
LoopOptimum opened this issue Oct 19, 2024 · 1 comment
Open

Comments

@LoopOptimum
Copy link

用docker-compose 部署,通过映射用自己的 plugins.json 覆盖

volumes:
- ./public:/app/public

目前只能内置不需要认证的插件,有没有办法内置令牌,从而让需要认证的插件也能跨设备使用

@LoopOptimum
Copy link
Author

LoopOptimum commented Oct 19, 2024

已经解决,是代理问题。
可以直接在plugin.json 里添加:
"authType":
"authLocation":
"authheader":
"authToken":

Edit:
对于没有 openai.json / openai.json托管在Github 的插件,无法通过这样内置。 可以用上传后的Fork解决。

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

1 participant