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] Fail to send prompt with image with Azure GPT-4 2024-04-09 #2375

Closed
Lerty opened this issue May 5, 2024 · 6 comments · Fixed by #2429
Closed

[Bug] Fail to send prompt with image with Azure GPT-4 2024-04-09 #2375

Lerty opened this issue May 5, 2024 · 6 comments · Fixed by #2429
Labels
🐛 Bug Something isn't working | 缺陷 released

Comments

@Lerty
Copy link

Lerty commented May 5, 2024

💻 Operating System

Windows

📦 Environment

Official Preview

🌐 Browser

Chrome

🐛 Bug Description

I can send image to this model on Azure playground, but fail on LobeChat

🚦 Expected Behavior

No response

📷 Recurrence Steps

No response

📝 Additional Information

No response

@Lerty Lerty added the 🐛 Bug Something isn't working | 缺陷 label May 5, 2024
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine May 5, 2024
@lobehubbot
Copy link
Member

👀 @Lerty

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

@Lerty
Copy link
Author

Lerty commented May 5, 2024

image

@Lerty
Copy link
Author

Lerty commented May 5, 2024

I found Azure using this message json :

{"role":"user","content":[{"type":"text","text":"hi"},{"type":"image_url","image_url":{"url":""}}]},

it use image_url instead of url of JSON properties of messages

@arvinxx
Copy link
Contributor

arvinxx commented May 5, 2024

@Lerty please check the post request payload. I think we use the image_url

@github-project-automation github-project-automation bot moved this from Roadmap - Chat 1.x to Done in Lobe Chat Routine May 10, 2024
@lobehubbot
Copy link
Member

@Lerty

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

@lobehubbot
Copy link
Member

🎉 This issue has been resolved in version 0.156.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

3 participants