Skip to content

[BUG] Completion doesn't override parentheses #128

@DanielAdari

Description

@DanielAdari

Extension: 0.1.6
LLM LS: 0.4.0

Usually when you declare a function or other variables, the editor adds a closing bracket.

For example:

def foo(<CURSOR>)

When you type (, the editor adds ) automatically. After accepting the completion, the output looks something like:

def foo(bar: str):)

Maybe we should use the bracket as a stop token, but that would mean the completion would be one line only for these cases.

Note: I'm using a local model

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions