lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
45.01k stars 10.15k forks source link

[Bug] Moonshot填写API 代理地址,使用客户端请求模式不生效 #4785

Closed lfffffy closed 1 day ago

lfffffy commented 2 days ago

📦 部署环境

Docker

📌 软件版本

使用客户端请求模式

💻 系统环境

Windows

🌐 浏览器

Chrome

🐛 问题描述

填写了Moonshot的API 代理地址,使用客户端请求模式的时候请求的还是Moonshot的官方地址而不是填写的API 代理地址。 image

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

lobehubbot commented 2 days ago

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


📦 Deployment environment

Docker

📌 Software version

Use client request mode

💻 System environment

Windows

🌐 Browser

Chrome

🐛 Problem description

Fill in the API proxy address of Moonshot. When using the client request mode, the official address of Moonshot is requested instead of the filled in API proxy address. image

📷 Steps to reproduce

No response

🚦 Expected results

No response

📝 Supplementary information

No response

lobehubbot commented 2 days ago

👀 @lfffffy

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

lfffffy commented 2 days ago

和昨天晚上xai那个issues有异曲同工的相似之处

lobehubbot commented 2 days ago

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


It’s similar to xai’s issues last night.

dosubot[bot] commented 2 days ago

Hey @lfffffy! I'm here to help you with your Moonshot issue. I'm a bot designed to assist with bugs, answer questions, and guide you on becoming a contributor. Let's tackle this together!

I found a similar discussion regarding the use of API proxy addresses in client request mode. In a previous thread, a user encountered an issue where the API proxy address was not being used, and it was resolved by ensuring the correct API version was included in the proxy URL. Specifically, the solution involved appending /v1 to the proxy URL, as the application required this versioning in the URL [1].

For your issue, you might want to check if the API proxy address for Moonshot is correctly configured with the necessary versioning or path adjustments. Additionally, ensure that the OPENAI_PROXY_URL or equivalent environment variable for Moonshot is set correctly in your Docker deployment.

To continue talking to Dosu, mention @dosu.

hezhijie0327 commented 1 day ago

找到问题了,过会儿补个 PR,和昨天的还不一样

lobehubbot commented 1 day ago

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


I found the problem. I will make a PR later. It will be different from yesterday.

lobehubbot commented 1 day ago

✅ @lfffffy

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

lobehubbot commented 1 day ago

:tada: This issue has been resolved in version 1.33.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: