update PromptPriority to accomodate for both Mandatory and Ordered prompts
This commit is contained in:
parent
aa1825681c
commit
473067db31
4 changed files with 96 additions and 29 deletions
|
@ -30,8 +30,6 @@ impl PromptTemplate for FileContext {
|
|||
writeln!(prompt, "```{language_name}").unwrap();
|
||||
|
||||
if let Some(buffer) = &args.buffer {
|
||||
let mut content = String::new();
|
||||
|
||||
if let Some(selected_range) = &args.selected_range {
|
||||
let start = selected_range.start.to_offset(buffer);
|
||||
let end = selected_range.end.to_offset(buffer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue