公网部署方案:Vercel + Serverless容器函数 一键部署 Publish to public: Vercel + Serverless Docker Function
我已成功部署,自费 API 给大家看看效果
https://deer-flow.vercel.app/
or
https://deerflow.top
我想了一个非常简单的方案出来,让任何人都可以部署到公网上,用自己的域名供人访问。
点击这个按钮
创建好你的 Vercel 网站之后,将环境变量 NEXT_PUBLIC_API_URL 配置为 https://deer-damokkcxax.cn-hongkong.fcapp.run/api
Done!
NEXT_PUBLIC_API_URL 实际上就是我的 Serverless endpoint (这个例子是想展示我们可以非常轻松地部署项目,所以自费弄了点API,请不要滥用)
如果你觉得这个方案好用的话,请给 https://github.com/bytedance/deer-flow/pull/110 和 https://github.com/bytedance/deer-flow/pull/108 点赞
我觉得这个 PR 是最好的方案。
I have successfully deployed a self-funded API for everyone to see the results:
https://deer-flow.vercel.app/
or https://deerflow.top/
I came up with a very simple solution that allows anyone to deploy it to the public internet and make it accessible using their own domain.
Click this button:
After creating your Vercel website, configure the environment variable NEXT_PUBLIC_API_URL as https://deer-damokkcxax.cn-hongkong.fcapp.run/api
Done!
NEXT_PUBLIC_API_URL is essentially my Serverless endpoint (this example is meant to demonstrate how easily the project can be deployed, so I’ve self-funded a bit of API—please don’t abuse it).
If you find this solution useful, please give a thumbs-up to:
https://github.com/bytedance/deer-flow/pull/110 and https://github.com/bytedance/deer-flow/pull/108
I believe this PR is the best solution.
我部署完成后,进行网页搜索的时候出现了这个异常,但是我校验了TAVILY_API_KEY是有效了,聊天功能正常,只有在research的时候异常。您能帮我分析一下原因吗? 当我切换到您的NEXT_PUBLIC_API_URL 的时候是正常的。我很疑惑