Pull out plain rules file loading code into a new agent_rules crate (#28383)
Also renames for rules file templated into the system prompt Release Notes: - N/A
This commit is contained in:
@@ -2581,7 +2581,7 @@ impl ActiveThread {
|
||||
let label_text = match rules_files.as_slice() {
|
||||
&[] => return div().into_any(),
|
||||
&[rules_file] => {
|
||||
format!("Using {:?} file", rules_file.rel_path)
|
||||
format!("Using {:?} file", rules_file.path_in_worktree)
|
||||
}
|
||||
rules_files => {
|
||||
format!("Using {} rules files", rules_files.len())
|
||||
|
||||
Reference in New Issue
Block a user