Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
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>
  • Loading branch information
dereklegenzoff and Copilot committed Jun 22, 2026
commit 111b756f303f759b31f22a8a2df229a58ed2d9af
2 changes: 1 addition & 1 deletion dotnet/src/Types.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2068,7 +2068,7 @@ public sealed class ProviderConfig
}

/// <summary>
/// Provider-scoped options for the CAPI (Copilot API) provider.
/// Provider-scoped options for the Copilot API (CAPI) provider.
/// </summary>
public sealed class CapiSessionOptions
Comment thread
dereklegenzoff marked this conversation as resolved.
{
Expand Down
2 changes: 1 addition & 1 deletion go/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1572,7 +1572,7 @@ type ProviderConfig struct {
MaxOutputTokens int `json:"maxOutputTokens,omitempty"`
}

// CapiSessionOptions configures provider-scoped CAPI (Copilot API) session behavior.
// CapiSessionOptions configures provider-scoped Copilot API (CAPI) session behavior.
//
// WebSocket transport is the default for the CAPI Responses API whenever the
// model advertises the ws:/responses endpoint. Set DisableWebSocketResponses to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Provider-scoped session options for the CAPI (Copilot API) provider.
* Provider-scoped session options for the Copilot API (CAPI) provider.
* <p>
* WebSocket transport is the default for the CAPI Responses API whenever the
* model advertises the {@code ws:/responses} endpoint. Setting
Expand Down
2 changes: 1 addition & 1 deletion python/copilot/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class CloudSessionOptions:


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

disable_web_socket_responses: bool
"""Opt out of WebSocket Responses transport and use HTTP Responses instead."""
Expand Down
2 changes: 1 addition & 1 deletion rust/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ impl ProviderConfig {
}
}

/// Provider-scoped CAPI (Copilot API) session options.
/// Provider-scoped Copilot API (CAPI) session options.
///
/// WebSocket transport is the default for the CAPI Responses API whenever
/// the model advertises the `ws:/responses` endpoint. Set
Expand Down
Loading