Skip to content

Commit 73a3bfb

Browse files
committed
chore: update code formatting and logging
- Remove unused import in HydeKeywordsStrategy.ts - Add newline before logging code snippet count in Catalyser.ts
1 parent 13812aa commit 73a3bfb

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/agent/catalyser/Catalyser.ts

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export class Catalyser {
5555
}
5656

5757
if (evaluateOutput.chunks.length > 0) {
58+
channel.append("\n")
5859
channel.appendLine("Found " + evaluateOutput.chunks.length + " code snippets\n");
5960
for (let chunk of evaluateOutput.chunks) {
6061
// a file path will be like: `build.gradle.kts (0-5)`, we need to parse range from name

src/code-search/search-strategy/HydeKeywordsStrategy.ts

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import { CustomActionPrompt } from "../../prompt-manage/custom-action/CustomActi
1212
import { AutoDevStatus, AutoDevStatusManager } from "../../editor/editor-api/AutoDevStatusManager";
1313
import { LlmProvider } from "../../llm-provider/LlmProvider";
1414
import { channel } from "../../channel";
15-
import { TextRange } from "../scope-graph/model/TextRange";
1615
import { LocalEmbeddingProvider } from "../embedding/LocalEmbeddingProvider";
1716
import { ContextItem, RetrieveOption } from "../retrieval/Retrieval";
1817
import { StrategyOutput } from "./_base/StrategyOutput";

0 commit comments

Comments
 (0)