mirror of
https://github.com/SilasMarvin/lsp-ai.git
synced 2024-08-15 23:30:34 +03:00
Rebased and cleaned
This commit is contained in:
parent
09f602ee12
commit
a4ce968034
@ -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;
|
||||
|
@ -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(¶ms.position, params.prompt_type, params.params)
|
||||
.build_prompt(¶ms.position, params.prompt_type, ¶ms.params)
|
||||
.await?;
|
||||
params
|
||||
.tx
|
||||
|
Loading…
Reference in New Issue
Block a user