feat: implement media image streaming capabilities#121
Merged
Conversation
… improved translation handling and UI interactions
…iveness and UI consistency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds admin-controlled image streaming capability configuration and improves the user-side model configuration experience.
Image generation now keeps the existing default streaming behavior, while allowing admins to explicitly disable image streaming per model through
ModelCapabilitiesJSON.image.stream=false. User-supplied options still cannot controlstream; the backend decides the execution strategy from model capabilities and adapter support.The chat model configuration dialog was also refined: missing option translation keys no longer produce console errors, the visual/JSON configuration panes now use fixed-height scroll regions, and project navigation interactions were split so the icon toggles project expansion, the text area starts a new project chat, and the menu button keeps its current behavior.
Change type
Affected areas
Verification
cd backend && go test ./internal/application/conversation/...cd frontend && pnpm lintScreenshots, API examples, or logs
Not included.
Configuration, migration, and compatibility notes
No database migration or deployment configuration changes are required.
image.stream=falseis a new optional model capability flag. Omitted or invalid capability JSON keeps the existing default behavior. User-levelstreamoptions remain blocked by the option policy.Documentation
Security and privacy
Checklist
.pycfiles,.envfiles, and local storage data are not committed.