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

Problems with code completion using custom openai service (ollama) #514

Closed
samyIO opened this issue Apr 25, 2024 · 1 comment
Closed

Problems with code completion using custom openai service (ollama) #514

samyIO opened this issue Apr 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@samyIO
Copy link

samyIO commented Apr 25, 2024

What happened?

In Pycharm 2023.3.4 i get an error message for every key i press when writing code.
msg-too-short

here are the configs i use:

completion

Any idea?

Relevant log output or stack trace

No response

Steps to reproduce

No response

CodeGPT version

2.6.3-233

Operating System

Windows

@samyIO samyIO added the bug Something isn't working label Apr 25, 2024
@PhilKes
Copy link
Contributor

PhilKes commented Apr 27, 2024

You can not use the /v1/chat/completions API of Ollama for code-completions, you would need an OpenAI compatible /v1/completions API, which Ollama does not yet include.
#510 will introduce Ollama as a high-level service and enable code-completions with the native Ollama API.
Same problem as in #517

@samyIO samyIO closed this as completed Jun 8, 2024
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