Repository navigation
fix(prompt_gateway): return 400 for malformed arch state - #1042
Open
SomSamantray wants to merge 1 commit into
Open
SomSamantray wants to merge 1 commit into
SomSamantray wants to merge 1 commit into
Conversation
Contributor
Author
|
CI and review have settled on head Successful checks: Docker build, native smoke test, plano tools tests, config validation, security scan, and Trivy. The prompt-gateway unit tests, WASM release build, locked clippy, formatting, and repository pre-commit hooks passed locally. Needs your decision
|
This branch has not been deployed
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.
Malformed
x-arch-statemetadata on/v1/chat/completionsnow returns a controlled400 Bad Requestresponse instead of panicking the prompt gateway. Valid state metadata continues to parse normally.Fixes #1030.
Validation: all five prompt gateway tests, the WASM release build, locked clippy, formatting, and repository pre-commit hooks passed.
AI disclosure: OpenAI Codex assisted with the diagnosis and patch; the final code and test results were reviewed.