-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Your issue may already be reported!
Please search on the issue tracker before creating one.
Describe the bug
When the data returned by SSE streaming starts with "data:" (not "data: "), streaming processing fails.
To Reproduce
Steps to reproduce the behavior, including any relevant code snippets.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots/Logs
If applicable, add screenshots to help explain your problem. For non-graphical issues, please provide any relevant logs or stack traces.
Environment (please complete the following information):
- go-openai version: [e.g. v1.12.0]
- Go version: [e.g. 1.18]
- OpenAI API version: [e.g. v1]
- OS: [e.g. Ubuntu 20.04]
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Projects
Milestone
Relationships
Development
Select code repository
Activity
linhaojun857 commentedon Mar 4, 2025
This is the processing logic of openai-python: