Open rajeev-sanyal opened 9 months ago
Hi @rajeev-sanyal! , we have new features and docs, check it here: https://docs.codegpt.co/docs/tutorial-ai-providers/codegptplus_v2. Also, if you are using OpenAI as provider, OpenAI API Key is mandatory to use it. Remember that CodeGPTPlus give you access to gpt-3.5 turbo among others from OpenAI.
I am getting same error, and I am using Ollama llama3. How do I solve this Error?
For me the CodeGPT Chat is working for llama3, but autocomplete is not working.
I downloaded the models llama3:instruct
and llama3:8b
. Ollama is running and answering my requests.
This are my codegpt chat config: Provider: Ollama / Model: llama3
These are my CodeGPT config:
"CodeGPT.Autocomplete.provider": "Ollama - codellama",
"CodeGPT.Autocomplete.enabled": true,
"CodeGPT.apiKey": "Ollama"
When I open a code file the little lamp in vscode bottom-right is appearing normal. When I start typing and wait the default 3000 milesseconds, the little lamp turn itself into an alert triangle showing the message "CodeGPT - Copilot - Working", but never ends and don't complete anything.
@llagerlof you need to use codellama:code to use the autocomplete option.
run this command: ollama pull codellama:code
More info: https://ollama.com/library/codellama:code
then select codellama:code
@davila7
Thank you.
However I just saw that "codellama is built on top of Llama 2" ↗
I think I will just wait for codellama for llama3.
@llagerlof
I recommend using codestral for autocomplete, it's pretty good.
Installed 3.17 version. Although the chat feature is working with ChatGPT, the autocomplete is not working openai-gpt-3.5-turbo. Enabled the settings for auto-complete as per the docs. Getting error "Source: Code GPT: Chat & AI agents" when Ctrl + Shift + I is pressed