Rebased and cleaned

This commit is contained in:
Silas Marvin 2024-06-21 08:42:57 -07:00
parent 09f602ee12
commit a4ce968034
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
use anyhow::Context;
use indexmap::IndexSet;
use lsp_types::{Position, TextDocumentPositionParams};
use lsp_types::TextDocumentPositionParams;
use parking_lot::Mutex;
use ropey::Rope;
use serde_json::Value;

View File

@ -64,7 +64,7 @@ async fn do_build_prompt(
memory_backend: Arc<Box<dyn MemoryBackend + Send + Sync>>,
) -> anyhow::Result<()> {
let prompt = memory_backend
.build_prompt(&params.position, params.prompt_type, params.params)
.build_prompt(&params.position, params.prompt_type, &params.params)
.await?;
params
.tx