Skip to content

chore: 🐝 Update SDK - Generate 0.10.1#340

Open
github-actions[bot] wants to merge 2 commits into
mainfrom
speakeasy-sdk-regen-1781825192
Open

chore: 🐝 Update SDK - Generate 0.10.1#340
github-actions[bot] wants to merge 2 commits into
mainfrom
speakeasy-sdk-regen-1781825192

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

SDK update

Versioning

Version Bump Type: [patch] - 🤖 (automated)

Tip

If updates to your OpenAPI document introduce breaking changes, be sure to update the info.version field to trigger the correct version bump.
Speakeasy supports manual control of SDK versioning through multiple methods.

Python SDK Changes:

  • open_router.benchmarks.get_benchmarks(): Added
  • open_router.datasets.get_benchmarks_artificial_analysis(): Deleted Breaking ⚠️
  • open_router.datasets.get_benchmarks_design_arena(): Deleted Breaking ⚠️
  • open_router.chat.send(): response Changed
  • open_router.embeddings.list_models(): response.data.[].reasoning Added
  • open_router.models.get(): response.data.reasoning Added
  • open_router.models.list(): response.data.[].reasoning Added
  • open_router.models.list_for_user(): response.data.[].reasoning Added
OpenAPI Change Summary
├─┬Paths
│ ├──[-] path (24052:5)❌ 
│ ├──[-] path (24140:5)❌ 
│ ├──[+] path (22966:3)
│ └─┬/models
│   └─┬GET
│     └─┬Responses
│       └─┬200
│         └─┬application/json
│           └──[🔀] example (28622:17)
├─┬Tags
│ └──[+] Benchmarks (32596:5)
└─┬Components
  ├──[-] schemas (3874:13)❌ 
  ├──[-] schemas (3947:13)❌ 
  ├──[-] schemas (3665:13)❌ 
  ├──[-] schemas (3646:13)❌ 
  ├──[-] schemas (3784:13)❌ 
  ├──[-] schemas (3755:13)❌ 
  ├──[-] schemas (3712:13)❌ 
  ├──[+] schemas (20294:7)
  ├──[+] schemas (20198:7)
  ├──[+] schemas (20345:7)
  ├──[+] schemas (20125:7)
  ├──[+] schemas (20144:7)
  ├──[+] schemas (12071:7)
  ├─┬Model
  │ ├──[🔀] example (11808:9)
  │ ├──[+] properties (11904:9)
  │ ├─┬top_provider
  │ │ └──[🔀] $ref (11912:11)❌ 
  │ ├─┬supported_voices
  │ │ ├──[🔀] description (11907:24)
  │ │ ├──[-] nullable (12226:31)❌ 
  │ │ ├──[-] example (12223:30)
  │ │ └─┬Schema
  │ │   └──[🔀] $ref (16406:9)❌ 
  │ └─┬supported_parameters
  │   └──[🔀] $ref (12071:20)❌ 
  └─┬ChatUsage
    ├──[🔀] example (5383:9)
    ├──[+] properties (5454:9)
    └─┬total_tokens
      ├──[🔀] type (5472:17)❌ 
      ├──[🔀] description (5455:24)
      ├──[+] nullable (5456:21)❌ 
      ├──[+] properties (5458:13)
      ├──[+] properties (5462:13)
      └──[+] properties (5467:13)
Document Element Total Changes Breaking Changes
paths 4 2
tags 1 0
components 29 13

PYTHON CHANGELOG

No relevant generator changes

Based on Speakeasy CLI 1.680.0

Last updated by Speakeasy workflow

@github-actions github-actions Bot added the patch Patch version bump label Jun 18, 2026
perry-the-pr-reviewer[bot]

This comment was marked as outdated.

* `open_router.benchmarks.get_benchmarks()`: **Added**
* `open_router.datasets.get_benchmarks_artificial_analysis()`: **Deleted** **Breaking** ⚠️
* `open_router.datasets.get_benchmarks_design_arena()`: **Deleted** **Breaking** ⚠️
* `open_router.chat.send()`:  `response` **Changed**
* `open_router.embeddings.list_models()`:  `response.data.[].reasoning` **Added**
* `open_router.models.get()`:  `response.data.reasoning` **Added**
* `open_router.models.list()`:  `response.data.[].reasoning` **Added**
* `open_router.models.list_for_user()`:  `response.data.[].reasoning` **Added**
@github-actions github-actions Bot force-pushed the speakeasy-sdk-regen-1781825192 branch from 5bbc669 to 0b6f008 Compare June 19, 2026 01:06
@github-actions github-actions Bot changed the title chore: 🐝 Update SDK - Generate (spec change merged) 0.10.1 chore: 🐝 Update SDK - Generate 0.10.1 Jun 19, 2026

@perry-the-pr-reviewer perry-the-pr-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perry's Review

Speakeasy SDK regen 0.10.0 → 0.10.1: unifies the two legacy benchmark endpoints into a single source-discriminated benchmarks.get_benchmarks(source=…), adds Model.reasoning (ModelReasoning) and ChatUsage.server_tool_use_details.

Verdict: 💬 Comments / questions

Details

Scope: incremental — net-new delta since my last review (5bbc669) is only generated bookkeeping: .speakeasy/gen.lock regeneration IDs + a RELEASES.md timestamp. The SDK source is byte-identical to the prior reviewed state, so no fresh code-level nits are raised.

Risk: 🟡 Medium

CI: no checks configured on this repo (none reported)

Findings: none net-new this push.

  • My earlier non-blocking suggestion still stands (live unresolved thread on pyproject.toml): the removal of datasets.get_benchmarks_artificial_analysis() and datasets.get_benchmarks_design_arena() (sync + async) is a breaking change shipping as a patch bump. Per Speakeasy's documented versioning policy a pre-1.0 breaking change is auto-downgraded major→minor (i.e. would suggest 0.11.0), so patch under-signals even relative to Speakeasy's own default. Conformant under SemVer §4 for a 0.y.z SDK — maintainer's call. To signal it more loudly add a minor label and a RELEASES.md migration note pointing consumers to client.benchmarks.get_benchmarks(source="artificial-analysis" | "design-arena", …).

Blast radius: clean. No dangling references to any removed symbol (get_benchmarks_* methods, BenchmarksAA*/BenchmarksDA* components, the old operation modules). SDK wiring verified: benchmarks accessor registered in sdk.py (TYPE_CHECKING import + _sub_sdk_map), sync + async get_benchmarks present, get_discriminator helper and reasoningeffort module both resolve.

Codex (gpt-5.5): 3 findings, all on code unchanged since the prior review — none net-new, none blocking. (1) Design Arena meta no longer exposes arena/category/elo_bounds — this faithfully mirrors the unified OpenAPI schema, an upstream API decision, not an SDK defect. (2) ModelReasoning.supported_efforts permits null list elements while the spec items are non-null — generated-code permissiveness; read-side harmless. (3) model.md links to a missing modelreasoning.md — a pre-existing partial-docs pattern in this repo (modelbenchmarks.md and modellinks.md were already dangling before this PR), so not a regression introduced here.

Research: Speakeasy SDK versioning policy — confirmed pre-1.0 breaking changes are auto-downgraded major→minor (not patch) and only become true major bumps after 1.0.0; maintainers override via the major/minor/patch PR label or SPEAKEASY_BUMP_OVERRIDE.

Security: no concerns. New ServerToolUseDetails fields are additive nullable usage counters; ModelReasoning is read-only model metadata. No credential, auth, streaming-validation, or tenant-isolation surface touched.

Test coverage: generated SDK — no hand-written tests expected; internal consistency (imports, init exports, discriminated-union tagging) verified by grep.

Unresolved threads: 1 — my own prior non-blocking [suggestion] on the patch-vs-minor bump (above). Maintainer discretion; not a merge blocker.

Scope: incremental — net-new delta is generated lock + timestamp only; SDK code unchanged since 5bbc669
Review: tier=large · model=claude-opus-latest · score=34.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Patch version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant