This repository was archived by the owner on Oct 16, 2026. It is now read-only.
Repository navigation
fix(contract): avoid release eval content filter - #1414
Merged
Merged
Conversation
Deploying agentv with
|
| Latest commit: |
6d7b885
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0ae702b8.agentv.pages.dev |
| Branch Preview URL: | https://fix-release-contract-content.agentv.pages.dev |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
CONTRACTtoken and code-grader stdin payload assertions, including snake_case payload checks and no deprecatedansweralias.Root Cause
The previous prompt used a system marker plus conditional instruction-following wording (
If the system marker... reply exactly...). GitHub Models/Azure OpenAI rejected that live request before AgentV could run the code grader, causing the releaseContract eval gateto fail with HTTP 400 content filtering.Validation
HTTP 400 ... content management policyand exit code 2.github-models-contract/openai/gpt-4.1-mini; it passed at 100% and all code-grader payload assertions passed.bun run validate:examplespassed, 61/61 valid.GH_MODELS_TOKEN=$(gh auth token) CONTRACT_EVAL_MODEL=openai/gpt-4.1-mini bun run contract-evalpassed all three live contract eval suites.bun run testpassed across core, eval, phoenix-adapter, CLI, and dashboard.