MCPcopy Index your code
hub / github.com/github/copilot-sdk / _CopilotClientOptions

Class _CopilotClientOptions

python/copilot/client.py:403–423  ·  view source on GitHub ↗

Internal configuration carrier used by :class:`CopilotClient`. This is not part of the public API: ``CopilotClient`` accepts all of these options as keyword arguments directly.

Source from the content-addressed store, hash-verified

401
402@dataclass
403class _CopilotClientOptions:
404 """Internal configuration carrier used by :class:`CopilotClient`.
405
406 This is not part of the public API: ``CopilotClient`` accepts all of
407 these options as keyword arguments directly.
408 """
409
410 connection: RuntimeConnection | None = None
411 working_directory: str | None = None
412 log_level: LogLevel = "info"
413 env: dict[str, str] | None = None
414 github_token: str | None = None
415 base_directory: str | None = None
416 use_logged_in_user: bool | None = None
417 telemetry: TelemetryConfig | None = None
418 session_fs: SessionFsConfig | None = None
419 request_handler: CopilotRequestHandler | None = None
420 session_idle_timeout_seconds: int | None = None
421 enable_remote_sessions: bool = False
422 on_list_models: Callable[[], list[ModelInfo] | Awaitable[list[ModelInfo]]] | None = None
423 mode: CopilotClientMode = "copilot-cli"
424
425
426# ============================================================================

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…