mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
better message
This commit is contained in:
@@ -267,12 +267,14 @@ impl HistoryCell {
|
||||
Line::from(""),
|
||||
];
|
||||
if let Some(p) = &agents_path {
|
||||
let display_path = diff_paths(p, &config.cwd)
|
||||
let instructions_display_path = diff_paths(p, &config.cwd)
|
||||
.map(|rel| rel.display().to_string())
|
||||
.unwrap_or_else(|| p.display().to_string());
|
||||
lines.push(Line::from(
|
||||
format!(" AGENTS.md found at {display_path}").dim(),
|
||||
));
|
||||
lines.push(Line::from(vec![
|
||||
" Found ".dim(),
|
||||
instructions_display_path.into(),
|
||||
".".dim(),
|
||||
]));
|
||||
lines.push(Line::from(""));
|
||||
}
|
||||
lines.push(Line::from(
|
||||
|
||||
Reference in New Issue
Block a user