Skip to content

refactor: align __all__ with ecosystem convention#33

Merged
mowree merged 1 commit intomicrosoft:mainfrom
HDMowri:v2.0.0-copilot-sdk-upgrade
Mar 29, 2026
Merged

refactor: align __all__ with ecosystem convention#33
mowree merged 1 commit intomicrosoft:mainfrom
HDMowri:v2.0.0-copilot-sdk-upgrade

Conversation

@HDMowri
Copy link
Copy Markdown
Contributor

@HDMowri HDMowri commented Mar 29, 2026

Summary

Align public API exports with ecosystem convention (anthropic, openai, azure-openai providers).

Changes

  • Export only \mount\ + \GitHubCopilotProvider\ in _all_\
  • \ProviderInfo/\ModelInfo\ remain importable but are kernel types (\�mplifier_core)
  • Remove verbose comments — code examples in MIGRATION.md are self-documenting

Breaking Change

Only affects \ rom amplifier_module_provider_github_copilot import *\ (star imports) — explicit imports still work.

Testing

981 tests passed, 1 skipped (Windows + WSL).

- Export only mount + GitHubCopilotProvider (matches anthropic/openai/azure-openai providers)

- ProviderInfo/ModelInfo remain importable but are kernel types (amplifier_core)
@mowree mowree merged commit 6f60e9b into microsoft:main Mar 29, 2026
1 check passed
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