Skip to content

Commit 6edae3d

Browse files
fmt: apply nightly rustfmt with grouped imports config
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 1269576 commit 6edae3d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

rust/tests/session_test.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,17 @@ use std::sync::atomic::{AtomicUsize, Ordering};
66
use std::time::Duration;
77

88
use async_trait::async_trait;
9-
use github_copilot_sdk::Client;
109
use github_copilot_sdk::handler::{
1110
ApproveAllHandler, AutoModeSwitchHandler, AutoModeSwitchResponse, ElicitationHandler,
1211
ExitPlanModeHandler, ExitPlanModeResult, PermissionHandler, PermissionResult, UserInputHandler,
1312
UserInputResponse,
1413
};
15-
use github_copilot_sdk::tool;
1614
use github_copilot_sdk::types::{
1715
CommandContext, CommandDefinition, CommandHandler, DeliveryMode, ElicitationRequest,
1816
ElicitationResult, ExitPlanModeData, MessageOptions, PermissionRequestData, RequestId,
1917
SessionConfig, SessionId, Tool, ToolInvocation, ToolResult,
2018
};
19+
use github_copilot_sdk::{Client, tool};
2120
use serde_json::Value;
2221
use tokio::io::{AsyncWrite, AsyncWriteExt, duplex};
2322
use tokio::time::timeout;
@@ -2055,6 +2054,7 @@ async fn external_tool_requested_dispatches_to_handler_and_responds() {
20552054
.with_description("Run tests")
20562055
.with_parameters(serde_json::json!({"type":"object"}))
20572056
}
2057+
20582058
async fn call(
20592059
&self,
20602060
invocation: ToolInvocation,
@@ -2103,6 +2103,7 @@ async fn external_tool_broadcast_for_unknown_tool_is_not_responded_to() {
21032103
.with_description("foo")
21042104
.with_parameters(serde_json::json!({"type":"object"}))
21052105
}
2106+
21062107
async fn call(
21072108
&self,
21082109
_invocation: ToolInvocation,
@@ -3877,6 +3878,7 @@ async fn tool_invocation_carries_trace_context_from_event() {
38773878
.with_description("calc")
38783879
.with_parameters(serde_json::json!({"type":"object"}))
38793880
}
3881+
38803882
async fn call(
38813883
&self,
38823884
invocation: ToolInvocation,

0 commit comments

Comments
 (0)