Skip to content

feat(responses): take Responses API GA#524

Merged
christineschen merged 5 commits into
mainfrom
responses-ga-v1.1-main
Jul 25, 2026
Merged

feat(responses): take Responses API GA#524
christineschen merged 5 commits into
mainfrom
responses-ga-v1.1-main

Conversation

@christineschen

Copy link
Copy Markdown
Collaborator

Summary

  • add canonical top-level client.responses.send(...) namespace for the Responses API
  • keep client.beta.responses.send(...) working as a deprecated compatibility alias
  • add a Speakeasy overlay so regeneration preserves the beta alias while /responses stays canonical
  • update SDK, docs, package metadata, and generator config so publish builds openrouter 1.1.0

Testing

  • uv build
  • uv run --group dev mypy src
  • uv run --group dev pyright src
  • uv run --group dev pylint src --rcfile pylintrc
  • uv run python -c "import openrouter; from openrouter import OpenRouter; c=OpenRouter(api_key='test'); print(openrouter.VERSION); print(type(c.responses).__name__, type(c.beta.responses).__name__)"

Note: uv run python -m pytest tests/test_responses_namespace.py could not run locally because pytest is not installed in the current dependency groups; CI currently validates build, mypy, pyright, and pylint.

# Conflicts:
#	.speakeasy/gen.yaml
#	pyproject.toml
#	src/openrouter/_version.py
#	uv.lock
# Conflicts:
#	.speakeasy/gen.yaml
#	RELEASES.md
#	pyproject.toml
#	src/openrouter/_version.py
#	uv.lock
@mintlify

mintlify Bot commented Jul 24, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
openrouter-production 🟡 Building Jul 24, 2026, 9:44 PM

@mintlify

mintlify Bot commented Jul 24, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
openrouter-staging 🟡 Building Jul 24, 2026, 9:44 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

…1.1.0

The deprecation tag was defined in in.openapi.yaml, which the monorepo sdk-bot
overwrites with the GA-only spec, so the overlay filter would match nothing and
silently drop the notice. Define the tag in the overlay instead, and re-pin the
release version so gen.lock (the publish source) agrees with pyproject.
@christineschen
christineschen merged commit 15460a0 into main Jul 25, 2026
2 checks passed
@christineschen
christineschen deleted the responses-ga-v1.1-main branch July 25, 2026 00:50
@mintlify

mintlify Bot commented Jul 25, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
openrouter-production 🟡 Building Jul 25, 2026, 12:40 AM

@mintlify

mintlify Bot commented Jul 25, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
openrouter-staging 🟡 Building Jul 25, 2026, 12:40 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jul 25, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
openrouter-production 🟡 Building Jul 25, 2026, 12:44 AM

@mintlify

mintlify Bot commented Jul 25, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
openrouter-staging 🟡 Building Jul 25, 2026, 12:44 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

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