From 5ca8975bbc20c94de0066a53a9b562e4a196c66e Mon Sep 17 00:00:00 2001 From: sigoden Date: Fri, 12 Jul 2024 07:59:52 +0800 Subject: [PATCH] refactor: template of including files (#707) --- src/config/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/input.rs b/src/config/input.rs index e1f6abd..1f00efd 100644 --- a/src/config/input.rs +++ b/src/config/input.rs @@ -73,7 +73,7 @@ impl Input { texts.push(String::new()); } for (path, contents) in files { - texts.push(format!("{path}:\n{contents}\n")); + texts.push(format!("{path}:\n``````\n{contents}\n``````\n")); } let (role, with_session, with_agent) = resolve_role(&config.read(), role); Ok(Self {