Skip to content

fix: Handle BaseModel inputs in prompt-key hashing. - #991

Merged
bxyu-nvidia merged 1 commit into
mainfrom
ffrujeri/prompt-key-hashing
Apr 1, 2026
Merged

bxyu-nvidia merged 1 commit into
mainfrom
ffrujeri/prompt-key-hashing

Conversation

@ffrujeri

@ffrujeri ffrujeri commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make prompt-key hashing robust when request payloads include Pydantic BaseModel objects
  • convert nested input payloads into JSON-serializable data before building the stable hash key
  • keep simple GenRM agent config updates included in this change

Signed-off-by: Felipe Vieira Frujeri <ffrujeri@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Apr 1, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ffrujeri
ffrujeri requested a review from bxyu-nvidia April 1, 2026 00:48
@bxyu-nvidia
bxyu-nvidia merged commit 1a4912e into main Apr 1, 2026
5 checks passed
@bxyu-nvidia
bxyu-nvidia deleted the ffrujeri/prompt-key-hashing branch April 1, 2026 04:43
kajalj22 pushed a commit that referenced this pull request Apr 7, 2026
## Summary
- make prompt-key hashing robust when request payloads include Pydantic
`BaseModel` objects
- convert nested input payloads into JSON-serializable data before
building the stable hash key
- keep simple GenRM agent config updates included in this change

Signed-off-by: Felipe Vieira Frujeri <ffrujeri@nvidia.com>
jsw-zorro pushed a commit to niletron/Gym that referenced this pull request Apr 7, 2026
## Summary
- make prompt-key hashing robust when request payloads include Pydantic
`BaseModel` objects
- convert nested input payloads into JSON-serializable data before
building the stable hash key
- keep simple GenRM agent config updates included in this change

Signed-off-by: Felipe Vieira Frujeri <ffrujeri@nvidia.com>
cmunley1 pushed a commit that referenced this pull request Apr 8, 2026
## Summary
- make prompt-key hashing robust when request payloads include Pydantic
`BaseModel` objects
- convert nested input payloads into JSON-serializable data before
building the stable hash key
- keep simple GenRM agent config updates included in this change

Signed-off-by: Felipe Vieira Frujeri <ffrujeri@nvidia.com>
Signed-off-by: cmunley1 <cmunley@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants