summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-11-30 06:48:35 +0800
committerGitHub <noreply@github.com>2024-11-30 06:48:35 +0800
commit580b40e895f6b5d4b9ee350bfd0066cfe4ae5bcc (patch)
treed88dd7bd89004901ca3186207b78de81beac6b17 /src/config
parentc06ecffb4c43a83484b77882c9880878be11c71f (diff)
downloadaichat-580b40e895f6b5d4b9ee350bfd0066cfe4ae5bcc.tar.gz
refactor: several improvements (#1020)
- update models.yaml - update copy error message - update combined files style
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 c527cfb..d72743a 100644
--- a/src/config/input.rs
+++ b/src/config/input.rs
@@ -90,7 +90,7 @@ impl Input {
texts.push(String::new());
}
for (path, contents) in files {
- texts.push(format!("`{path}`:\n\n{contents}\n"));
+ texts.push(format!("====== PATH: {path} ======\n{contents}\n"));
}
let (role, with_session, with_agent) = resolve_role(&config.read(), role);
Ok(Self {