diff --git a/core/autocomplete/lineStream.ts b/core/autocomplete/lineStream.ts index 7ebd12ff5..8abdc556c 100644 --- a/core/autocomplete/lineStream.ts +++ b/core/autocomplete/lineStream.ts @@ -79,7 +79,7 @@ export async function* stopAtSimilarLine( let lineQualifies = nextLine.length > 4 && trimmedLine.length > 4; if ( lineQualifies && - (commonPrefixLength(nextLine.trim(), trimmedLine.trim()) > 8 || + (commonPrefixLength(nextLine.trim(), trimmedLine.trim()) > 12 || distance(nextLine.trim(), trimmedLine) / trimmedLine.length < 0.1) ) { break; diff --git a/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/constants/ServerConstants.kt b/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/constants/ServerConstants.kt index 1d4c09a41..0fb203b57 100644 --- a/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/constants/ServerConstants.kt +++ b/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/constants/ServerConstants.kt @@ -31,23 +31,19 @@ const val DEFAULT_CONFIG = """ "slashCommands": [ { "name": "edit", - "description": "Edit highlighted code", - "step": "EditHighlightedCodeStep" + "description": "Edit highlighted code" }, { "name": "comment", - "description": "Write comments for the highlighted code", - "step": "CommentCodeStep" + "description": "Write comments for the highlighted code" }, { "name": "share", - "description": "Export the current chat session to markdown", - "step": "ShareSessionStep" + "description": "Export the current chat session to markdown" }, { "name": "cmd", - "description": "Generate a shell command", - "step": "GenerateShellCommandStep" + "description": "Generate a shell command" } ], "customCommands": [