-
-
Notifications
You must be signed in to change notification settings - Fork 11.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] Error when upgrading lobechat from v1.32.0 to v1.32.1 using model o1 preview #5018
Comments
👀 @abix5 Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Hey @abix5! I'm here to help you with any bugs, questions, or contributions you have regarding lobechat. Let's tackle this issue together! The error you're encountering after upgrading to version v1.32.1 is related to the model o1's beta limitations, specifically regarding streaming support. In version v1.32.1, support for "o1 models using streaming" was added, which might have introduced changes affecting how streaming is handled for this model [1]. The error message indicates that streaming is not supported for the o1 model due to its beta limitations. This suggests that while the framework now supports streaming for o1 models, there might be specific conditions or configurations under which streaming is not yet fully operational. To address this issue, you might want to check if there are any configuration settings or flags that control model streaming capabilities in Lobe Chat, although specific documentation on this wasn't found in the repository. Additionally, reviewing any recent changes in the codebase related to streaming support for o1 models could provide further insights into resolving this error. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
openai o1 has support stream, so maybe you need to use OpenAI offical API |
I use the official OpenAI API, yes, o1 supports stream, but at the moment not all corporate accounts have received o1. Many still don't have access and are forced to use o1 preview, where stream support is unavailable. |
📦 Environment
Docker
📌 Version
v1.32.1
💻 Operating System
macOS
🌐 Browser
Chrome
🐛 Bug Description
After upgrading lobechat from version v1.32.0 to v1.32.1, I encountered the following error when using the model o1:
It appears that the error indicates streaming is not supported for this model due to beta limitations. This issue did not occur in version v1.32.0.
Steps to Reproduce:
Upgrade lobechat from version v1.32.0 to v1.32.1.
Use the model o1 for chat completion.
Observe the error message.
📷 Recurrence Steps
No response
🚦 Expected Behavior
No response
📝 Additional Information
No response
The text was updated successfully, but these errors were encountered: