Conversation
|
🧪 Testing To try out this version of the SDK: Expires at: Mon, 30 Mar 2026 04:29:24 GMT |
9db4085 to
0c997e3
Compare
0c997e3 to
6294065
Compare
3733596 to
e8e9492
Compare
e8e9492 to
b451b68
Compare
b451b68 to
5ac67dd
Compare
5ac67dd to
c20b35d
Compare
| "format:ruff", | ||
| ]} | ||
| "format:docs" = "python scripts/utils/ruffen-docs.py README.md api.md" | ||
| "format:docs" = "bash -c 'python scripts/utils/ruffen-docs.py README.md $(find . -type f -name api.md)'" |
There was a problem hiding this comment.
| "format:ruff", | ||
| ]} | ||
| "format:docs" = "python scripts/utils/ruffen-docs.py README.md api.md" | ||
| "format:docs" = "bash -c 'python scripts/utils/ruffen-docs.py README.md $(find . -type f -name api.md)'" |
There was a problem hiding this comment.
Unquoted find expansion breaks doc formatting
Low Severity
format:docs uses $(find . -type f -name api.md) unquoted inside bash -c, so any api.md path containing whitespace or shell-special characters gets split into multiple arguments, causing scripts/utils/ruffen-docs.py to receive invalid filenames.
c20b35d to
150959e
Compare
| "format:ruff", | ||
| ]} | ||
| "format:docs" = "python scripts/utils/ruffen-docs.py README.md api.md" | ||
| "format:docs" = "bash -c 'python scripts/utils/ruffen-docs.py README.md $(find . -type f -name api.md)'" |
There was a problem hiding this comment.
Find command searches through excluded directories
Low Severity
The find . -type f -name api.md command recursively searches all directories including .venv, .git, __pycache__, and .mypy_cache. This causes unnecessary performance overhead searching through large dependency directories and could format unintended files if they happen to be named api.md. The command should exclude these directories using -not -path patterns or limit search depth with -maxdepth.
|
|
||
| response: httpx.Response | ||
|
|
||
| _options: Optional[FinalRequestOptions] = None |
There was a problem hiding this comment.
Unused options field in Stream classes
Low Severity
The _options attribute is added to both Stream and AsyncStream classes and stored during initialization, but it's never read or used anywhere in either class. This dead code suggests either incomplete implementation or unnecessary infrastructure that clutters the codebase.
Additional Locations (1)
150959e to
db612f0
Compare
db612f0 to
cd547ae
Compare
cd547ae to
5e394d7
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| monkeypatch.delenv("ALL_PROXY", raising=False) | ||
| monkeypatch.delenv("NO_PROXY", raising=False) | ||
| monkeypatch.delenv("http_proxy", raising=False) | ||
| monkeypatch.delenv("https_proxy", raising=False) |
There was a problem hiding this comment.
Test deletes proxy env var it just set on Windows
Low Severity
The newly added monkeypatch.delenv("https_proxy", raising=False) executes after monkeypatch.setenv("HTTPS_PROXY", ...). On Windows, os.environ is case-insensitive, so deleting https_proxy also removes the HTTPS_PROXY value that was just set. This causes the test to fail on Windows because no proxy ends up configured, making len(mounts) differ from the expected 1. Moving the delenv calls before the setenv call (or excluding https_proxy from deletion) would fix the ordering issue.
Additional Locations (1)
5e394d7 to
f5d1b6a
Compare
f5d1b6a to
bf7bbdd
Compare


Automated Release PR
1.1.0 (2026-02-28)
Full Changelog: v1.0.0...v1.1.0
Features
Chores
api.mdfiles (d167e2d)test_proxy_environment_variablesmore resilient (d0ec2d9)test_proxy_environment_variablesmore resilient to env (c287c24)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
Note
Medium Risk
Mostly generated SDK/type updates plus a small streaming internals change; moderate risk due to an API param removal (
results_per_query) and updated SSE stream construction that could affect downstream usage.Overview
Release v1.1.0: bumps package/version metadata and updates the tracked OpenAPI spec/hash plus the changelog.
Updates generated models and params, including new/expanded metadata (
file_extension, image metadata variant, videohas_audio_stream), addingexternal_idto scored chunk types, adding optionalimagedata to parsing results, tweaking file searchqsemantics docs, and removingresults_per_queryfrom agentic search config types.Internal/maintenance: SSE
Stream/AsyncStreamnow accept and receiveFinalRequestOptionsfrom responses, formatting script now formats allapi.mdfiles, CONTRIBUTING uses./scripts/mock, and proxy env var tests are made more resilient.Written by Cursor Bugbot for commit bf7bbdd. This will update automatically on new commits. Configure here.