diff options
| author | sigoden <sigoden@gmail.com> | 2024-07-17 18:30:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-17 18:30:05 +0800 |
| commit | 6fdaabf9a83e8187a2443371f2615c867d4362c2 (patch) | |
| tree | b2412b425b768b4e9240fd72b385caa42b9af8c3 /src/config | |
| parent | e81b215696b8941acbe47a449c19f6967133e551 (diff) | |
| download | aichat-6fdaabf9a83e8187a2443371f2615c867d4362c2.tar.gz | |
refactor: fetch html as markdown (#723)
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/input.rs | 2 |
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 { |
