Skip to content

Commit e8835c1

Browse files
committed
style: apply cargo fmt formatting
1 parent fcfe086 commit e8835c1

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/cortex-engine/src/session/handlers.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ use crate::summarization::SummarizationStrategy;
1818

1919
use super::Session;
2020
use super::prompt::{
21-
auto_detect_skills_from_message, build_system_prompt, build_system_prompt_with_skills,
22-
inject_skills, USE_SKILL_BASED_PROMPT,
21+
USE_SKILL_BASED_PROMPT, auto_detect_skills_from_message, build_system_prompt,
22+
build_system_prompt_with_skills, inject_skills,
2323
};
2424

2525
impl Session {

src/cortex-engine/src/session/lifecycle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use crate::rollout::{RolloutRecorder, SESSIONS_SUBDIR, get_rollout_path, read_ro
2121
use crate::tools::ToolRouter;
2222

2323
use super::Session;
24-
use super::prompt::{build_system_prompt, build_system_prompt_with_skills, USE_SKILL_BASED_PROMPT};
24+
use super::prompt::{USE_SKILL_BASED_PROMPT, build_system_prompt, build_system_prompt_with_skills};
2525
use super::types::{SessionHandle, SessionInfo, TokenCounter};
2626

2727
impl Session {

src/cortex-engine/src/session/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ use crate::tools::ToolRouter;
2323

2424
pub use lifecycle::list_sessions;
2525
pub use prompt::{
26-
auto_detect_skills_from_message, available_skills, build_system_prompt,
27-
build_system_prompt_with_skills, inject_skills, is_valid_skill, USE_SKILL_BASED_PROMPT,
26+
USE_SKILL_BASED_PROMPT, auto_detect_skills_from_message, available_skills, build_system_prompt,
27+
build_system_prompt_with_skills, inject_skills, is_valid_skill,
2828
};
2929
pub use types::{SessionHandle, SessionInfo, TokenCounter};
3030

0 commit comments

Comments
 (0)