chore: 🐝 Update SDK - Generate 0.10.0#317
Conversation
d4d8c98 to
3f1286b
Compare
* `open_router.beta.responses.send()`: * `request` **Changed** **Breaking**⚠️ * `response` **Changed** **Breaking**⚠️ * `open_router.presets.create_presets_responses()`: `request` **Changed** **Breaking**⚠️ * `open_router.presets.create_presets_chat_completions()`: `request` **Changed** **Breaking**⚠️ * `open_router.chat.send()`: `request` **Changed** **Breaking**⚠️ * `open_router.files.delete()`: **Added** * `open_router.files.retrieve()`: **Added** * `open_router.files.download()`: **Added** * `open_router.models.get()`: **Added** * `open_router.datasets.get_benchmarks_artificial_analysis()`: **Added** * `open_router.o_auth.create_auth_code()`: * `request.workspace_id` **Added** * `error.status[403]` **Added** * `open_router.files.upload()`: **Added** * `open_router.embeddings.list_models()`: `response.data.[].benchmarks` **Added** * `open_router.models.list()`: * `request` **Changed** * `response.data.[].benchmarks` **Added** * `open_router.models.list_for_user()`: `response.data.[].benchmarks` **Added** * `open_router.files.list()`: **Added** * `open_router.presets.create_presets_messages()`: `request.fallbacks` **Added** * `open_router.datasets.get_benchmarks_design_arena()`: **Added**
7186528 to
80c8d05
Compare
There was a problem hiding this comment.
Perry's Review
Speakeasy-generated SDK regen to 0.10.0 — adds Files, AA/DA benchmarks, web-search/sub-agent tool schemas, datasets rankings, and new chat sampling params; one breaking export rename already flagged below.
Verdict: 💬 Comments / questions
Details
Risk: 🟢 Low — generated serialization layer; new API surface is additive and the package imports cleanly at 0.10.0.
CI: no checks reported on head SHA (the second commit is an empty commit to trigger [run-tests] workflow) — informational only, not a verdict gate.
Findings: no net-new findings this push. The only standing item is the existing unresolved suggestion thread:
- 🟡 The public
Versionalias inrankingsdailymeta.pywas renamed toRankingsDailyMetaVersionand dropped fromcomponents.__all__(breaking import) — see the existing inline suggestion thread, which still applies at this head. Confirmed still the only removed export in the diff; the apparent"auto"removal inwebsearchengineenum.pyis just a reorder (aperplexitymember added above it, additive). Per SemVer §4 a pre-1.0 minor bump may carry breaking changes, and Speakeasy downgrades pre-1.0 major bumps to minor by policy — so this is compliant; the ask remains to document the rename inRELEASES.md.
Codex (gpt-5.5): no additional findings.
Research: OAuth callback loosening in createauthkeyscode.py (localhost/127.0.0.1 on any port) matches RFC 8252 §7.3 for native/CLI apps — validation is server-side; the SDK only serializes the string. Breaking-export concern cross-checked against SemVer 2.0.0 §4 and Speakeasy versioning docs (pre-1.0 breaking → minor bump).
Security: no concerns. No secrets in the diff. Auth-keys category touched (#7) but only a generated docstring + optional workspace_id field — no client-side authz logic.
Test coverage: N/A — fully generated SDK; verified by clean import openrouter + client instantiation (files/datasets submodules wire correctly, all renamed/new types resolve).
Unresolved threads: 1 — Perry's prior [suggestion] on the Version rename (still applies at head 821caf0); not re-posted (dedup).
Scope: full re-review (no prior snapshot on disk; prior COMMENT verdict on record)
Review: tier=large · model=claude-opus-latest · score=?
SDK update
Versioning
Version Bump Type: [minor] - 🤖 (automated)
Tip
If updates to your OpenAPI document introduce breaking changes, be sure to update the
info.versionfield to trigger the correct version bump.Speakeasy supports manual control of SDK versioning through multiple methods.
Python SDK Changes:
open_router.beta.responses.send():requestChanged BreakingresponseChanged Breakingopen_router.presets.create_presets_responses():requestChanged Breakingopen_router.presets.create_presets_chat_completions():requestChanged Breakingopen_router.chat.send():requestChanged Breakingopen_router.files.delete(): Addedopen_router.files.retrieve(): Addedopen_router.files.download(): Addedopen_router.models.get(): Addedopen_router.datasets.get_benchmarks_artificial_analysis(): Addedopen_router.o_auth.create_auth_code():request.workspace_idAddederror.status[403]Addedopen_router.files.upload(): Addedopen_router.embeddings.list_models():response.data.[].benchmarksAddedopen_router.models.list():requestChangedresponse.data.[].benchmarksAddedopen_router.models.list_for_user():response.data.[].benchmarksAddedopen_router.files.list(): Addedopen_router.presets.create_presets_messages():request.fallbacksAddedopen_router.datasets.get_benchmarks_design_arena(): AddedOpenAPI Change Summary
PYTHON CHANGELOG
multipartFileContentType: 1.0.0 - 2024-07-04
🐝 New Features
uploadStreams: 1.0.0 - 2024-07-04
🐝 New Features
Based on Speakeasy CLI 1.680.0
Last updated by Speakeasy workflow