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] o1模型无法上传图片 #5193

Open
a2aw2 opened this issue Dec 26, 2024 · 2 comments
Open

[Bug] o1模型无法上传图片 #5193

a2aw2 opened this issue Dec 26, 2024 · 2 comments
Labels
🐛 Bug Something isn't working | 缺陷 files 上传文件/知识库

Comments

@a2aw2
Copy link

a2aw2 commented Dec 26, 2024

📦 Environment

Docker

📌 Version

v1.40.2

💻 Operating System

Windows

🌐 Browser

Chrome

🐛 Bug Description

image
如图,在手动添加了o1模型,并勾选了该模型支持上传图片后
image
仍然无法上传图片

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

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

👀 @a2aw2

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

@dosubot dosubot bot added the files 上传文件/知识库 label Dec 26, 2024
Copy link

dosubot bot commented Dec 26, 2024

Hey @a2aw2! I'm here to help you with any bugs, questions, or contributions you have. Let's work together to solve this issue! Dosu

The issue you're experiencing with the 'o1' model not being able to upload images might be related to the configuration settings for image uploads in the lobe-chat framework. Here are a few things to check:

  1. Model Support for Vision: Ensure that the 'o1' model is correctly configured to support visual recognition. The framework uses the isModelEnabledVision selector to determine if a model supports image uploads. Make sure this is set up correctly for the 'o1' model [1][2].

  2. S3 Configuration: Verify that your S3 storage settings are correctly configured. Common issues include incorrect S3_ENDPOINT configuration, ACL settings, and public access domain issues. These configurations are crucial for enabling image uploads [3].

  3. Error Handling: Check if there are any error messages or logs that might indicate what is going wrong during the upload process. The framework has mechanisms to handle network and upload errors, which might provide clues [4].

  4. UI Configuration: Ensure that the UI components related to file uploads are correctly set up to allow image uploads for the 'o1' model. This includes checking the isModelEnabledUpload and isModelEnabledFiles selectors to ensure they are configured to support the types of files you want to upload [5][6].

By verifying these configurations, you should be able to identify and resolve the issue preventing image uploads for the 'o1' model.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 files 上传文件/知识库
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

2 participants