Repository navigation
Conversation
## summary - Apply declared string enum normalization only while comparing values, retaining original input and treating unknown rules as unknown. - Count content references without treating metadata or cached video continuations as uploaded media; retain endpoint pause enforcement. - Share specific constraint errors across admission and execution, keep nested receipt codes, and present image geometry failures bilingually. - Document accepted image request policies and cover actual speech payloads, continuation job IDs, and rejection before task creation. ## validation - Targeted capability, Agent and cache checks: 106 passed, 1 skipped. - Actual request projection and H3 checks: 61 passed, model doubles. - Frontend unit tests: 763 passed with PYTHONUTF8=1 on Windows. - TypeScript/build, i18n, browser manifests, generated contracts and import-layer checks passed. Full Python suite is still running.
## summary Honor a globally disabled exact HTTP endpoint when a continuation profile is undeclared, without borrowing another profile's inputs. Keep route_disabled as the rejection reason during a fresh pause. Verify the public command API creates no continuation job or request on the disabled endpoint and preserves the original remote job ID when the endpoint is available. ## validation The projection and public HTTP regressions both failed before the fix. The three affected test modules now pass all 110 cases with model doubles and real temporary media; no real model inference was run.
## summary Apply the exact global HTTP endpoint closure after profile matching so both a missing profile and missing profile-route details still reject new work. Preserve already explicit operation and profile rejections. ## validation The missing-profile-route regression failed before the fix. All 111 capability projection, availability and H3 tests pass afterward, including public command rejection without a new model request.
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
Discover optional model capabilities before submitting work, and explain incompatible requests without discarding the user's configuration, inputs or selections.
Linked issue
Refs #224 (V2). The companion Omni S2 PR supplies the discovery endpoint.
Labels
type:feat,area:provider,area:canvas,area:agent.Test plan
Windows, Python 3.12.7 and Node 24.22.1. Integrated upstream
4d15b4e; final codea0fbd18.Focused test entry points:
tests/test_minimax_image.py,tests/test_model_availability.py,tests/test_request_capability_acceptance.py,tests/test_tool_native_mask.pyandtests/browser/capability_discovery.mjs. Setup and commands are in the validation guide.Upstream Z-Image sampling defaults apply only to text-to-image jobs. Capability validation checks the saved sampling values; editing and accepted-task recovery retain their applicable parameters. MiniMax retains its existing routes, image ordering, 16-image limit and result-download checks.
Evidence that it works
Example capability cards from the controlled UI regression:
Provider verification
The normal application completed real GLM chat and MOSS speech requests. The saved speech file played successfully; its transcription matched the submitted text. A failed capability lookup against a legacy service was followed by a successful real chat request without changing configuration or existing tasks.
Capability-state and image-edit regressions use controlled services and fixture media. Real-model mask adherence remains unverified.
Bilingual UI
Both
zh-CNanden-USwere checked in the browser, including live language switching, rejection messages and retained voice selections.AI assistance
This contribution was made with assistance from Codex.