progress on smarter truncation strategy for file context

This commit is contained in:
KCaverly 2023-10-18 17:56:59 -04:00
parent 587fd707ba
commit 178a84bcf6
4 changed files with 124 additions and 37 deletions

View file

@ -166,6 +166,8 @@ pub fn generate_content_prompt(
let chain = PromptChain::new(args, templates);
let (prompt, _) = chain.generate(true)?;
println!("PROMPT: {:?}", &prompt);
anyhow::Ok(prompt)
}