Skip to content

Commit e29ea92

Browse files
fix: ruff format + add mcp_apps field to Rust e2e UiCapabilities literal
- python: ruff format reflowed the new _warn_if_mcp_apps_dropped helper - rust: tests/e2e/elicitation.rs constructs UiCapabilities as a struct literal; the new mcp_apps field made it non-exhaustive Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f390934 commit e29ea92

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

python/copilot/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def _warn_if_mcp_apps_dropped(
101101
session_id,
102102
)
103103

104+
104105
# ============================================================================
105106
# Connection Types
106107
# ============================================================================

rust/tests/e2e/elicitation.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ async fn session_capabilities_types_are_properly_structured() {
396396
let capabilities = github_copilot_sdk::SessionCapabilities {
397397
ui: Some(UiCapabilities {
398398
elicitation: Some(true),
399+
mcp_apps: None,
399400
}),
400401
};
401402

0 commit comments

Comments
 (0)