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

[Bug] 之前走服务端发起请求为何现在更改为前端直接发起 #2789

Closed
8 of 17 tasks
cookieY opened this issue Jun 4, 2024 · 7 comments
Closed
8 of 17 tasks
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@cookieY
Copy link
Contributor

cookieY commented Jun 4, 2024

📦 部署环境

  • Official
  • Official Preview
  • Vercel / Zeabur / Sealos
  • Docker
  • Other

📌 软件版本

v0.162.17

💻 系统环境

  • Windows
  • macOS
  • Ubuntu
  • Other Linux
  • iOS
  • Android
  • Other

🌐 浏览器

  • Chrome
  • Edge
  • Safari
  • Firefox
  • Other

🐛 问题描述

不知为何更改了 llm 请求模式从后端发起变更为前端发起,导致 self-host 部署无法使用 proxychains-ng 进行访问。

📷 复现步骤

No response

🚦 期望结果

希望请求经由后端进行访问

📝 补充信息

No response

@cookieY cookieY added the 🐛 Bug Something isn't working | 缺陷 label Jun 4, 2024
@lobehubbot
Copy link
Member

👀 @cookieY

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@arvinxx
Copy link
Contributor

arvinxx commented Jun 4, 2024

没有改默认的,你可以自行选择服务端还是前端。

原因的话可以看下以前的一些讨论:

@arvinxx arvinxx closed this as completed Jun 4, 2024
@lobehubbot
Copy link
Member

@cookieY

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

@cookieY
Copy link
Contributor Author

cookieY commented Jun 5, 2024

感谢作者回复,我查看了环境变量以及FeatureFlags 没有找到相关客户端还是服务端模式切换的参数。文档中似乎也没有涉及。请问是在哪里更改切换?谢谢

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Thanks for the author's reply. I checked the environment variables and FeatureFlags and couldn't find the parameters related to switching between client and server modes. It doesn't seem to be covered in the documentation either. Where can I change the switch? Thanks

@arvinxx
Copy link
Contributor

arvinxx commented Jun 5, 2024

默认就是服务端请求,如果你填写了自定义的apikey或者proxy url,就会显示切换请求的switch

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The default is a server request. If you fill in a custom apikey or proxy url, the switch request will be displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Archived in project
Development

No branches or pull requests

3 participants