Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Motivation
grok-superimage-1.0that uses centralized image parameters.Description
grok-superimage-1.0inModelServiceand server-side image parameters via_superimage_server_image_configused when that model is requested, and addedsuperimageconfig defaults inconfig.defaults.tomland UI fields inapp/static/admin/js/config.jsand numeric handling.ImagineWebSocketReversenow classifies preview/medium/final by byte-size thresholds and can perform parallel recovery attempts when blocked, andImageGenerationServicewill run extra parallel recovery attempts using distinct tokens and fail with a clearUpstreamExceptionif no final images are produced._safe_sse_streamthat encodes exceptions as SSEevent: errorJSON payloads and added_streaming_error_responseto return one-shot SSE errors for streaming requests; also ensured chat-style image streams always emit a final empty chat chunk anddata: [DONE].app/services/grok/utils/retry.pyand integrated it intoChatServiceto retry with different tokens on transient errors, and added safer fallbacks whenget_config("retry.max_retry")may be unset.app/core/config.pyto avoid overwriting remote storage with defaults when the remote returnedNoneand no local seed existed, and renamedget_storageimport to avoid collision in admin API and exposed storage detection.app/services/reverse/app_chat.pyincluding SOCKS scheme normalization and usingproxyvsproxiesbased on scheme, and adjusted timeout selection logic.grok-superimage-1.0URL outputs, and emit correct SSE finalization; introduced logging changes and limits for parallel attempts and retries.readme.mdlistinggrok-superimage-1.0and behavior notes for streaming and blocked-image recovery.Testing
POST /v1/chat/completionsflows for text, image, and streaming scenarios, and observed no regressions.errorevents anddata: [DONE]termination for streaming clients.superimagefields andblocked_parallel_attemptsnumeric input in the configuration page and that default config values load fromconfig.defaults.toml.Codex Task