Skip to content

Commit 6f60e9b

Browse files
authored
Merge pull request #33 from HDMowri/v2.0.0-copilot-sdk-upgrade
refactor: align __all__ with ecosystem convention
2 parents 76e7fd0 + f024ea1 commit 6f60e9b

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

MIGRATION.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,10 @@ The stable public API is:
142142
from amplifier_module_provider_github_copilot import (
143143
mount, # Amplifier module entrypoint
144144
GitHubCopilotProvider, # Provider class
145-
ProviderInfo, # Re-exported from amplifier_core
146-
ModelInfo, # Re-exported from amplifier_core
147145
)
146+
147+
# Kernel types — import directly from amplifier_core
148+
from amplifier_core import ProviderInfo, ModelInfo
148149
```
149150

150151
All other symbols are internal implementation details and may change without notice.

amplifier_module_provider_github_copilot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ async def cleanup() -> None:
318318
raise
319319

320320

321-
__all__ = ["mount", "GitHubCopilotProvider", "ProviderInfo", "ModelInfo"]
321+
__all__ = ["mount", "GitHubCopilotProvider"]
322322

323323

324324
# =============================================================================

0 commit comments

Comments
 (0)