Rename --stream-output to --incremental-streaming-output#20614
Rename --stream-output to --incremental-streaming-output#20614
Conversation
Summary of ChangesHello, 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 enhances the clarity and maintainability of the server's command-line interface by renaming a key streaming output flag. The change clarifies that the flag controls the format of streaming output (incremental vs. cumulative) rather than merely enabling streaming. It also introduces a robust deprecation strategy, allowing for a smooth transition for users while providing a reusable pattern for future flag management. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. 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
|
|
/tag-and-rerun-ci |
There was a problem hiding this comment.
Code Review
This pull request renames the --stream-output flag to --incremental-streaming-output to better describe its functionality. The old flag is preserved as a deprecated alias, which is a good practice for backward compatibility. A new DeprecatedStoreTrueAction class is introduced to handle such deprecated boolean flags, making the implementation clean and reusable. The changes are consistently applied across the codebase, including documentation and tests. My feedback includes a minor suggestion to improve the robustness of the new action class.
|
/rerun-ut test_skip_tokenizer_init.py |
|
✅ Triggered |
Conflict resolution: - _wait_one_response: take main's drain-all-pending-outputs refactor - _handle_batch_output: keep PR's merged BatchStr/BatchTokenID structure, rename stream_output -> incremental_streaming_output per sgl-project#20614
…al-streaming-output (sgl-project#20614) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
--stream-outputserver flag to--incremental-streaming-outputto better reflect its semantics (controls incremental vs cumulative output format, not whether streaming is enabled)--stream-outputflag is preserved as a deprecated alias that prints a warning and still worksDeprecatedStoreTrueActionfor reusable deprecated-but-functional boolean flag handlingTest plan
/rerun-stage stage-b-test-small-1-gpu— includestest_skip_tokenizer_init.pywhich explicitly passes this flag🤖 Generated with Claude Code