lobehub/lobe-chat

[Bug] 这是我nginx代理获取到的信息 #1502

BQQQQB posted onGitHub

💻 Operating System

Windows

📦 Environment

Official Preview

🌐 Browser

Chrome

🐛 Bug Description

{ "chat_info": "", "response_data": "{ body :{ error :{ code : DeploymentNotFound , message : The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again. }, provider : openai , endpoint : https://hqmoss.openai.az****re.com/openai/deployments/ }, errorType : OpenAIBizError }", "prompt_tokens": "2900", "total_tokens": "2900", "timestamps": "2024-03-08 15:29:02" } 当我提问问题到一定程度之后,获取到的信息就是这个了,但是实际是有响应的,chat_info(请求)response_data(响应)

image

🚦 Expected Behavior

No response

📷 Recurrence Steps

No response

📝 Additional Information

No response


👀 @BQQQQB

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

posted by lobehubbot about 1 year ago

{ "chat_info": { "model": "gpt-4-vision-preview", "stream": true, "frequency_penalty": 0, "presence_penalty": 0, "temperature": 0.6, "top_p": 1, "max_tokens": 2048, "messages": [{ "content": "你现在是一个openresty的代理nginx助手,你可以解决逻辑方面的问题,用中文交流", "role": "system" }, { "content": "你好", "role": "user" }] }, "response_data": "你好!有什么问题可以帮您解决吗?", "prompt_tokens": "36", "total_tokens": "36", "timestamps": "2024-03-08 15:46:34" } 这是正常的回答

posted by BQQQQB about 1 year ago

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


{ "chat_info": { "model": "gpt-4-vision-preview", "stream": true, "frequency_penalty": 0, "presence_penalty": 0, "temperature": 0.6, "top_p": 1, "max_tokens": 2048, "messages": [{ "content": "You are now an openresty proxy nginx assistant. You can solve logic problems and communicate in Chinese", "role": "system" }, { "content": "Hello", "role": "user" }] }, "response_data": "Hello! Is there any problem that I can help you solve?", "prompt_tokens": "36", "total_tokens": "36", "timestamps": "2024-03-08 15:46:34" } This is a normal answer

posted by lobehubbot about 1 year ago

没懂,看图不是响应正常的吗

posted by arvinxx about 1 year ago

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


I don’t understand. Isn’t the response normal when looking at pictures?

posted by lobehubbot about 1 year ago

是正常响应了,但是我通过openresty的nginx代理获取到的信息(请求、响应)是这个, { "chat_info": "", "response_data": "{ body :{ error :{ code : DeploymentNotFound , message : The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again. }, provider : openai , endpoint : https://hqmoss.openai.az****re.com/openai/deployments/ }, errorType : OpenAIBizError }", "prompt_tokens": "2900", "total_tokens": "2900", "timestamps": "2024-03-08 15:29:02" }

posted by BQQQQB about 1 year ago

"model": "gpt-4-vision-preview", 这个模型是部署了吗?

posted by luojiyin1987 about 1 year ago

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


"model": "gpt-4-vision-preview", has this model been deployed?

posted by lobehubbot about 1 year ago

👋 @{{ author }} <br/> Since the issue was labeled with 🤔 Need Reproduce, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要更多信息,却 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。

posted by lobehubbot 12 months ago

✅ @BQQQQB

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

posted by lobehubbot 12 months ago

Fund this Issue

$0.00
Funded

Pull requests