feat: option to skip verification - #2279
Merged
Merged
Conversation
Signed-off-by: Jiaqi Zeng <jiaqiz@nvidia.com> Signed-off-by: Anish Mahishi <amahishi@nvidia.com>
Signed-off-by: Anish Mahishi <amahishi@nvidia.com>
Signed-off-by: Anish Mahishi <amahishi@nvidia.com>
Signed-off-by: Anish Mahishi <amahishi@nvidia.com>
bxyu-nvidia
requested changes
Aug 5, 2026
| "verification_skipped": True, | ||
| } | ||
|
|
||
| async def call_verify_or_skip( |
Contributor
There was a problem hiding this comment.
i like the intent of this call_verify_or_skip util, but imo it is more intuitive to have smth super obvious in the /run code like:
verify_request = SimpleAgentVerifyRequest.model_validate(body.model_dump() | {"response": model_response_json})
if self.config.skip_verification:
verify_response = await self.server_client.post(
server_name=self.config.resources_server.name,
url_path="/verify",
json=verify_request.model_dump(),
cookies=cookies,
)
await raise_for_status(verify_response)
result = await get_response_json(verify_response)
else:
result = body.model_dump() | {
"response": response_payload,
"reward": 0,
"verification_skipped": True,
}that way when our users build similar things everything they need is right in front of them, especially if they need to customize
Signed-off-by: Anish Mahishi <amahishi@nvidia.com>
Signed-off-by: Anish Mahishi <amahishi@nvidia.com>
bxyu-nvidia
approved these changes
Aug 19, 2026
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
Adds a response API agent option to skip resources-server verification during
/run.When
skip_verification=true, agents return a synthetic verify response usingskip_verification_rewardand mark it withverification_skipped=true. Top-level config values are propagated to response API agents unless the agent explicitly sets its own values.Changes
skip_verificationandskip_verification_rewardto base response API agent config.simple_agentandtool_simulation_agent./runbehavior.Cherry pick from here