Skip to content

Commit c2a6835

Browse files
stephentoubCopilot
andauthored
Export ProviderConfig from Node.js and Python SDKs (#1048)
ProviderConfig was defined in both SDKs but not re-exported from their public API entry points. Consumers had to duplicate the type locally to use it for Responses API configuration (wireApi: 'responses'). - Node.js: add ProviderConfig to the type re-exports in src/index.ts - Python: import ProviderConfig in copilot/__init__.py and add to __all__ Fixes github/copilot-sdk-partners#7 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 7fc03d2 commit c2a6835

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

nodejs/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export type {
4747
PermissionHandler,
4848
PermissionRequest,
4949
PermissionRequestResult,
50+
ProviderConfig,
5051
ResumeSessionConfig,
5152
SectionOverride,
5253
SectionOverrideAction,

python/copilot/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
ElicitationParams,
2424
ElicitationResult,
2525
InputOptions,
26+
ProviderConfig,
2627
SessionCapabilities,
2728
SessionFsConfig,
2829
SessionFsHandler,
@@ -49,6 +50,7 @@
4950
"ModelLimitsOverride",
5051
"ModelSupportsOverride",
5152
"ModelVisionLimitsOverride",
53+
"ProviderConfig",
5254
"SessionCapabilities",
5355
"SessionFsConfig",
5456
"SessionFsHandler",

0 commit comments

Comments
 (0)