-
-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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] 自定义供应商使用客户端请求获取模型时还是走的服务端请求 #6964
Comments
👀 @Borber Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
The issue you're experiencing seems to be related to the lobe-chat framework not correctly routing requests to the client when using a custom provider. The configuration for custom AI providers is handled in the Additionally, the logic for determining whether to fetch from the client is detailed in
To resolve your issue, ensure that the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
The issue you're experiencing seems to be related to the lobe-chat framework not using client-side requests for custom providers, even when configured to do so in the client pgelite db deployment mode. In version v1.71.0, there might be a configuration or implementation issue causing the requests to still be routed through the server. To address this, ensure that the client-side fetching is correctly enabled for your custom provider. According to the expected behavior in the framework, client-side fetching should be enabled if an endpoint is provided [1]. Double-check your configuration settings to ensure that the endpoint is correctly set and that any necessary API keys are provided. If the issue persists, it might be a bug specific to version v1.71.0, as there are no specific changes or known issues documented for this version related to custom provider requests [1]. You may want to verify if there are any updates or patches available that address this behavior. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
📦 Platform
Official Preview
📦 Deploymenet mode
client pgelite db (lobe-chat-pglite image)
📌 Version
v1.71.0
💻 Operating System
Windows
🌐 Browser
Chrome
🐛 Bug Description
📷 Recurrence Steps
No response
🚦 Expected Behavior
自定义供应商客户端请求, 请直接使用客户端好吗?
📝 Additional Information
No response
The text was updated successfully, but these errors were encountered: