fix(nexus): make image generation route stable and executable - #58
Merged
Conversation
smackgg
force-pushed
the
codex/fix-generation-storyboard-regressions
branch
from
July 30, 2026 14:43
4f01d85 to
07c6eb2
Compare
…storyboard-regressions # Conflicts: # packages/plugins/nexus-service/convax-package.json # packages/plugins/nexus-service/package/manifest.json
Contributor
Author
|
@youking-lib @superche @fearclear @JPJeePee 麻烦任一位 review/approve 最新 head 767714f。CI 已完整通过;并且刚用该 head 编译出的 darwin-arm64 companion、现有生产 Nexus 授权和实时模型目录完成了一次真实调用:google/gemini-2.5-flash-image 返回 1 张经肉眼确认的 1024×1024 PNG(155,087 bytes),stderr 0。不是 fake gateway。修复保留 #57 的 USD budget 展示,并消除了 Host 接受任务后重复 token/Provider/model discovery 导致的 unknown 锁卡。 |
…storyboard-regressions # Conflicts: # packages/plugins/nexus-service/convax-package.json # packages/plugins/storyboard-studio/convax-package.json # packages/plugins/storyboard-studio/package/README.md
…storyboard-regressions
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
autoand image-only routes that cannot run through the metered Chat Completions pathtools/listand reuse its exact Data Token, Provider, and model catalog in the followingimage.generatecalltools/callfrom repeating authorization, Provider, or model discovery after the Host has entered its external-call safety boundary0.3.15, Nexus companion0.3.12, and Storyboard Studio0.1.1Root cause
Nexus image generation discovered the route three times: model listing loaded token/Provider/models,
image.generateloaded models again, and the completion call loaded token/Provider again. A transient discovery failure aftertools/callbegan was still pre-billable inside Nexus, but the Host correctly had to classify the non-LRO external result as unknown and lock the card.Verification
bun run checkon the final branch after merging latestmaintools/list→image.generate1 / 1 / 1 / 1767714fdarwin-arm64 companion completed one real production Nexus call with the existing user authorization:google/gemini-2.5-flash-image, one visually verified 1024×1024 PNG (155,087 bytes), and zero stderr lines