Open
Conversation
b8b7d47 to
68cd348
Compare
68cd348 to
29363bf
Compare
29363bf to
3b8e9a9
Compare
3b8e9a9 to
45b7001
Compare
45b7001 to
2eb2f8d
Compare
2eb2f8d to
b1e8996
Compare
b1e8996 to
b81efe5
Compare
b81efe5 to
d40b526
Compare
d40b526 to
0251d75
Compare
0251d75 to
2d36118
Compare
2d36118 to
3233de7
Compare
3233de7 to
e7bbc51
Compare
e7bbc51 to
f027bca
Compare
f027bca to
18cf71a
Compare
18cf71a to
e0e7073
Compare
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.
Automated Release PR
0.10.0 (2026-04-10)
Full Changelog: v0.9.10...v0.10.0
Features
Bug Fixes
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions
Greptile Summary
This is an automated release PR bumping the version from
0.9.10to0.10.0. It includes a bug fix in_extract_itemsthat ensures top-level file arrays (paths ending with"<array>") are properly removed from the request body, a newproduction_deployment_idfield on theAgentmodel, and a corresponding test for the extraction fix.Confidence Score: 5/5
Safe to merge — all changes are version bookkeeping, a well-tested bug fix, and an additive model field.
No P0/P1 findings. The extraction bug fix is logically sound (vacuous-truth of
all()on an empty slice correctly preserves the original pop-on-last-key behavior), and a new targeted test validates the fixed scenario. Theproduction_deployment_idaddition is a backward-compatible optional field.No files require special attention.
Important Files Changed
len(path) == indexwithall(p == "<array>" for p in path[index:])so dict keys are popped when only array-traversal markers remain in the path, correctly handling top-level file arrays like["files", "<array>"].test_top_level_file_arraywhich directly covers the new extraction logic for paths ending in"<array>"; verifies both returned file tuples and mutation of the input dict.production_deployment_id: Optional[str]field; straightforward model update driven by API spec change.Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A[_extract_items called] --> B{path index valid?} B -- No: path exhausted --> C{obj is list?} C -- Yes --> D[return file tuples for each entry] C -- No --> E[return single file tuple] B -- Yes: key found --> F[increment index] F --> G{obj is dict?} G -- Yes --> H{remaining path all array markers?} H -- True: pop key --> I[item = obj.pop key] H -- False: keep key --> J[item = obj at key] I --> K[recurse with item] J --> K G -- No --> L{obj is list?} L -- Yes --> M[recurse for each list item] L -- No --> N[return empty]Reviews (17): Last reviewed commit: "release: 0.10.0" | Re-trigger Greptile