diff options
| author | sigoden <sigoden@gmail.com> | 2024-07-12 07:59:52 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-12 07:59:52 +0800 |
| commit | 5ca8975bbc20c94de0066a53a9b562e4a196c66e (patch) | |
| tree | a9f96cd126ea6043cf342c556daa2ca8fe7e2783 /src | |
| parent | 8ee49e821e9f94903ca524254582ec8397e7b6e0 (diff) | |
| download | aichat-5ca8975bbc20c94de0066a53a9b562e4a196c66e.tar.gz | |
refactor: template of including files (#707)
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 e1f6abd..1f00efd 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{contents}\n")); + texts.push(format!("{path}:\n``````\n{contents}\n``````\n")); } let (role, with_session, with_agent) = resolve_role(&config.read(), role); Ok(Self { |
