diff options
| author | sigoden <sigoden@gmail.com> | 2024-07-12 07:24:23 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-12 07:24:23 +0800 |
| commit | 8ee49e821e9f94903ca524254582ec8397e7b6e0 (patch) | |
| tree | 8c6167d4e7dabff5a6c8de81a639ae3181177ede /src | |
| parent | 19f5f6c397470630d428792c47b1ba599c4ca192 (diff) | |
| download | aichat-8ee49e821e9f94903ca524254582ec8397e7b6e0.tar.gz | |
refactor: template of including files (#706)
Diffstat (limited to 'src')
| -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 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 { |
