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

Smart apply produces unusable code in the editor #3860

Open
manos-msdn opened this issue Feb 17, 2025 · 2 comments
Open

Smart apply produces unusable code in the editor #3860

manos-msdn opened this issue Feb 17, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@manos-msdn
Copy link

manos-msdn commented Feb 17, 2025

Describe the bug

Smart apply pastes code that is not usable, see image.

Information about your version

0.24.0 - latest stable as of today Feb 17th 2025
windows binary cuda 122 tabby_x86_64-windows-msvc-cuda122

Information about your GPU

NVIDIA-SMI 572.16 Driver Version: 572.16 CUDA Version: 12.8

Additional context

First time trying this today. Windows 10, used the binary with the standard small models. Installation went smoothly, and the integration with vs code works.

Tried the example with the string conversion. Standard "apply in editor" works fine, but smart apply shows the below output which is not usable

I could be doing something wrong as I just started but other than that, looks good, it suggests code snippets, and on localhost 8080 I can see the stats and accepted completions and all

Image

Image

@manos-msdn manos-msdn changed the title weird smart apply Smart apply produces unusable code in the editor Feb 17, 2025
@zwpaper zwpaper added bug Something isn't working and removed bug-unconfirmed labels Feb 18, 2025
@icycodes
Copy link
Member

Hi @manos-msdn
Thank you for reporting this issue.

Could you please share which chat model you are using?
I recommend trying a model like Qwen2.5-Coder-7B-Instruct with the smart apply feature.

@manos-msdn
Copy link
Author

Hi @manos-msdn Thank you for reporting this issue.

Could you please share which chat model you are using? I recommend trying a model like Qwen2.5-Coder-7B-Instruct with the smart apply feature.

hi, I was using the standard small models that come with the default installation (according to the quick start guide). I can try the qwen when I find some time, thanks

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

3 participants