feat(responses): take Responses API GA#524
Merged
Merged
Conversation
# 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
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
mattapperson
approved these changes
Jul 24, 2026
…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.
…, keep beta.responses deprecated alias
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
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.
Summary
client.responses.send(...)namespace for the Responses APIclient.beta.responses.send(...)working as a deprecated compatibility alias/responsesstays canonicalopenrouter1.1.0Testing
uv builduv run --group dev mypy srcuv run --group dev pyright srcuv run --group dev pylint src --rcfile pylintrcuv 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.pycould not run locally becausepytestis not installed in the current dependency groups; CI currently validates build, mypy, pyright, and pylint.