Skip to content

Add downstream SDK integration examples#64

Open
yanziwei wants to merge 1 commit into
ionq:mainfrom
yanziwei:add-downstream-integration-examples
Open

Add downstream SDK integration examples#64
yanziwei wants to merge 1 commit into
ionq:mainfrom
yanziwei:add-downstream-integration-examples

Conversation

@yanziwei
Copy link
Copy Markdown

@yanziwei yanziwei commented Jun 7, 2026

Summary

  • Add sync and async downstream SDK examples for the ClientExtension API.
  • Demonstrate SDK user-agent tokens, default headers, sync/async event hooks, and APIError / RateLimitError mapping into SDK-defined errors.
  • Document setup in examples/README.md, link examples from the top-level README, and add a changelog entry.

Closes #56

Verification

  • /Users/yanziwei/Documents/Codex/2026-06-08/goal-100-000-99/work/tooling-venv/bin/uv run ruff check
  • /Users/yanziwei/Documents/Codex/2026-06-08/goal-100-000-99/work/tooling-venv/bin/uv run ruff format --check
  • /Users/yanziwei/Documents/Codex/2026-06-08/goal-100-000-99/work/tooling-venv/bin/uv run ty check examples/
  • /Users/yanziwei/Documents/Codex/2026-06-08/goal-100-000-99/work/tooling-venv/bin/uv run python -m compileall -q examples
  • git diff --cached --check

AI assistance disclosure

AI assistance was used to inspect the repository, draft the examples, and run verification commands.

@yanziwei yanziwei requested a review from a team as a code owner June 7, 2026 20:23
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.

Add an examples/ directory demonstrating downstream-SDK integration via the extension API

1 participant