From 1016cd2e6cecc7a7189108a2ef9210cc6e0cdf7c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 2 Feb 2026 17:28:34 +0000 Subject: [PATCH 1/2] Initial plan From 0fba3170e75a013512649cbdc8ab40ecc328f9b3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 2 Feb 2026 17:33:04 +0000 Subject: [PATCH 2/2] Change SessionConfig model field from Literal to str Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com> --- python/copilot/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/copilot/types.py b/python/copilot/types.py index 30bd3141c..f7058e98f 100644 --- a/python/copilot/types.py +++ b/python/copilot/types.py @@ -425,7 +425,7 @@ class SessionConfig(TypedDict, total=False): """Configuration for creating a session""" session_id: str # Optional custom session ID - model: Literal["gpt-5", "claude-sonnet-4", "claude-sonnet-4.5", "claude-haiku-4.5"] + model: str # Model to use for this session. Use client.list_models() to see available models. # Reasoning effort level for models that support it. # Only valid for models where capabilities.supports.reasoning_effort is True. reasoning_effort: ReasoningEffort