Skip to content

Commit eae59d5

Browse files
author
kiran-garre
committed
chore: Run formatter
1 parent e38c1f8 commit eae59d5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

crates/chat-cli/src/cli/chat/cli/capture.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use crossterm::{
1010
execute,
1111
style,
1212
};
13-
use dialoguer::FuzzySelect;
13+
use dialoguer::Select;
1414
use eyre::Result;
1515

1616
use crate::cli::chat::capture::{
@@ -285,7 +285,7 @@ fn expand_capture(manager: &CaptureManager, output: &mut impl Write, tag: String
285285
}
286286

287287
fn fuzzy_select_captures(entries: &[CaptureDisplayEntry], prompt_str: &str) -> Option<usize> {
288-
FuzzySelect::new()
288+
Select::with_theme(&crate::util::dialoguer_theme())
289289
.with_prompt(prompt_str)
290290
.items(entries)
291291
.report(false)

crates/chat-cli/src/cli/chat/conversation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ Return only the JSON configuration, no additional text.",
863863
self.history.pop_back()?;
864864
Some(())
865865
}
866-
866+
867867
/// Swapping agent involves the following:
868868
/// - Reinstantiate the context manager
869869
/// - Swap agent on tool manager

crates/chat-cli/src/cli/chat/tools/use_aws.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ mod tests {
397397
#[tokio::test]
398398
async fn test_eval_perm_auto_allow_readonly_default() {
399399
let os = Os::new().await.unwrap();
400-
400+
401401
// Test read-only operation with default settings (auto_allow_readonly = false)
402402
let readonly_cmd = use_aws! {{
403403
"service_name": "s3",
@@ -429,7 +429,7 @@ mod tests {
429429
#[tokio::test]
430430
async fn test_eval_perm_auto_allow_readonly_enabled() {
431431
let os = Os::new().await.unwrap();
432-
432+
433433
let agent = Agent {
434434
name: "test_agent".to_string(),
435435
tools_settings: {
@@ -475,7 +475,7 @@ mod tests {
475475
#[tokio::test]
476476
async fn test_eval_perm_auto_allow_readonly_with_denied_services() {
477477
let os = Os::new().await.unwrap();
478-
478+
479479
let agent = Agent {
480480
name: "test_agent".to_string(),
481481
tools_settings: {

0 commit comments

Comments
 (0)