fix(sse): support data: prefix without space#188
fix(sse): support data: prefix without space#188yarolegovich merged 2 commits intoa2aproject:mainfrom
Conversation
Summary of ChangesHello @herczyn, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses a compatibility issue in SSE data parsing where some frameworks omit the space between the Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request adds support for SSE data: fields that don't have a space after the colon, which improves compatibility. The implementation in sse.go introduces some code duplication, which can be refactored for better maintainability. Additionally, the new test case in sse_test.go can be simplified to be more direct and easier to understand. My review includes suggestions for both of these points.
0f06f98 to
0edfd21
Compare
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
0edfd21 to
af66f55
Compare
|
Thanks for the contribution! |
🤖 I have created a release *beep* *boop* --- ## [0.3.7](v0.3.6...v0.3.7) (2026-02-20) ### Features * implement tasks/list RPC ([#210](#210)) ([6e04698](6e04698)) * retry cancelations ([#222](#222)) ([3057474](3057474)) ### Bug Fixes * handle internal error: tck failure ([#186](#186)) ([b55fbfd](b55fbfd)) * **sse:** support data: prefix without space ([#188](#188)) ([6657a6d](6657a6d)), closes [#162](#162) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
fixes #162