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

error: codellama:latest does not support insert #799

Open
rabol opened this issue Dec 17, 2024 · 1 comment
Open

error: codellama:latest does not support insert #799

rabol opened this issue Dec 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@rabol
Copy link

rabol commented Dec 17, 2024

What happened?

I get this error: in PhpStorm : {"error": codellama:latest does not support insert"}

My setup is like this:
Screen Shot 2024-12-17 at 08 41 42

Relevant log output or stack trace

No response

Steps to reproduce

just install the extension and use the above settings

CodeGPT version

2.14.2-241.1

Operating System

macOS

@rabol rabol added the bug Something isn't working label Dec 17, 2024
@carlrobertoh
Copy link
Owner

Ollama doesn't support FIM templates for older models like codellama. For these models, you must set the correct FIM template manually. The 'Use built-in FIM template' checkbox tells CodeGPT to wrap the prefix and suffix inside a template chosen from the dropdown menu below.

However, it looks like the description under the checkbox is incorrect and doesn't reflect the actual intent of this behaviour. I will fix this soon - it should be vice-versa.

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