From 298a45232b0f52fce5973075b33326a64be13462 Mon Sep 17 00:00:00 2001 From: sigoden Date: Wed, 28 Aug 2024 09:42:29 +0800 Subject: refactor: template for including files (#807) --- src/config/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config/input.rs') diff --git a/src/config/input.rs b/src/config/input.rs index dd68749..9c7a666 100644 --- a/src/config/input.rs +++ b/src/config/input.rs @@ -72,7 +72,7 @@ impl Input { texts.push(String::new()); } for (path, contents) in files { - texts.push(format!("\n\n{contents}\n")); + texts.push(format!("`{path}`:\n\n{contents}\n")); } let (role, with_session, with_agent) = resolve_role(&config.read(), role); Ok(Self { -- cgit v1.2.3