summaryrefslogtreecommitdiffstats
path: root/src/config/input.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-07-17 18:30:05 +0800
committerGitHub <noreply@github.com>2024-07-17 18:30:05 +0800
commit6fdaabf9a83e8187a2443371f2615c867d4362c2 (patch)
treeb2412b425b768b4e9240fd72b385caa42b9af8c3 /src/config/input.rs
parente81b215696b8941acbe47a449c19f6967133e551 (diff)
downloadaichat-6fdaabf9a83e8187a2443371f2615c867d4362c2.tar.gz
refactor: fetch html as markdown (#723)
Diffstat (limited to 'src/config/input.rs')
-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 1f00efd..46e1e74 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!("<!-- include: {path} -->\n\n{contents}\n"));
}
let (role, with_session, with_agent) = resolve_role(&config.read(), role);
Ok(Self {