summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-07-12 07:24:23 +0800
committerGitHub <noreply@github.com>2024-07-12 07:24:23 +0800
commit8ee49e821e9f94903ca524254582ec8397e7b6e0 (patch)
tree8c6167d4e7dabff5a6c8de81a639ae3181177ede /src/config
parent19f5f6c397470630d428792c47b1ba599c4ca192 (diff)
downloadaichat-8ee49e821e9f94903ca524254582ec8397e7b6e0.tar.gz
refactor: template of including files (#706)
Diffstat (limited to 'src/config')
-rw-r--r--src/config/input.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/input.rs b/src/config/input.rs
index c6d0c62..e1f6abd 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\n{contents}\n\n"));
+ texts.push(format!("{path}:\n{contents}\n"));
}
let (role, with_session, with_agent) = resolve_role(&config.read(), role);
Ok(Self {