Skip to content

Commit 111b756

Browse files
Lead with spelled-out 'Copilot API (CAPI)' on first mention
Update the CapiSessionOptions type-level doc summary in each language to lead with the spelled-out 'Copilot API (CAPI)' form on first use, matching the existing docs convention (and the Node SDK, which already did this). Python's class docstring previously never expanded the acronym. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent cdabefd commit 111b756

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

dotnet/src/Types.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2068,7 +2068,7 @@ public sealed class ProviderConfig
20682068
}
20692069

20702070
/// <summary>
2071-
/// Provider-scoped options for the CAPI (Copilot API) provider.
2071+
/// Provider-scoped options for the Copilot API (CAPI) provider.
20722072
/// </summary>
20732073
public sealed class CapiSessionOptions
20742074
{

go/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1572,7 +1572,7 @@ type ProviderConfig struct {
15721572
MaxOutputTokens int `json:"maxOutputTokens,omitempty"`
15731573
}
15741574

1575-
// CapiSessionOptions configures provider-scoped CAPI (Copilot API) session behavior.
1575+
// CapiSessionOptions configures provider-scoped Copilot API (CAPI) session behavior.
15761576
//
15771577
// WebSocket transport is the default for the CAPI Responses API whenever the
15781578
// model advertises the ws:/responses endpoint. Set DisableWebSocketResponses to

java/src/main/java/com/github/copilot/rpc/CapiSessionOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import com.fasterxml.jackson.annotation.JsonProperty;
99

1010
/**
11-
* Provider-scoped session options for the CAPI (Copilot API) provider.
11+
* Provider-scoped session options for the Copilot API (CAPI) provider.
1212
* <p>
1313
* WebSocket transport is the default for the CAPI Responses API whenever the
1414
* model advertises the {@code ws:/responses} endpoint. Setting

python/copilot/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class CloudSessionOptions:
136136

137137

138138
class CapiSessionOptions(TypedDict, total=False):
139-
"""CAPI provider-scoped session options."""
139+
"""Provider-scoped Copilot API (CAPI) session options."""
140140

141141
disable_web_socket_responses: bool
142142
"""Opt out of WebSocket Responses transport and use HTTP Responses instead."""

rust/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ impl ProviderConfig {
11601160
}
11611161
}
11621162

1163-
/// Provider-scoped CAPI (Copilot API) session options.
1163+
/// Provider-scoped Copilot API (CAPI) session options.
11641164
///
11651165
/// WebSocket transport is the default for the CAPI Responses API whenever
11661166
/// the model advertises the `ws:/responses` endpoint. Set

0 commit comments

Comments
 (0)