Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab to select inserts the call function #38

Open
fantacrmpanda opened this issue Jan 29, 2025 · 0 comments
Open

Tab to select inserts the call function #38

fantacrmpanda opened this issue Jan 29, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@fantacrmpanda
Copy link

Often when hitting to auto complete, what is inserted in the call to the llama function:

    9 func main() {                                                                   
   10                                                                                 
   11                                                                                 
   12     fmt.Printf("hello world")                                                   
   13     fmt.Println("hello world")                                                  
   14     fmt.Printf("%d", fibonacci(7))                                              
   15     fmt.Printf(**:call llama#fim_accept('full')**                                   
   16     fmt.Println("hello, world")                                                 
   17         | c: 0, r: 1 / 16, e: 0, q: 0 / 16 | p: 38 (592.32 ms, 64.15 t/s) | g: 1 (0.01 ms, 90909.09 t/s) | t: 600.14 ms
   18 }                                                                               
   19   

In the above, I'm typing on line 15 'fmt.Printf(' and the suggestion for the rest comes up (suggesting same code as line 14) and when I hit tab it inserts the call instead of the text.

In line 16, I typed 'fmt.Println("hello' and then and it worked fine.

@ggerganov ggerganov added the bug Something isn't working label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants