Giter VIP home page Giter VIP logo

code-gpt-docs's Introduction

CodeGPT Plus News 🗞

✨ Support CodeGPT 🥳

Our extension is FREE and we want to keep it that way FOREVER

If you want to help us, give us a good score ⭐️⭐️⭐️⭐️⭐️ in the Visual Studio Code marketplace at this link: VSCode Marketplace

✨ Now you coul use Vision with CodeGPT Plus

gif3

New chat available! gif2

✨ Llama 2 🦙 from Meta lands on CodeGPT

You can already use Code Llama, Llama 2 (7B, 13B and 70B) by integrating with https://ollama.ai Available from version 2.1.16 or higher

✨ CodeGPT Plus 🚀

Exciting news! You can start using CodeGPT Plus. This feature allows you to load information within Visual Studio Code to have a better understanding of your project's context.

Be one of the first to start using this tool.

✨ Claude 2 🤖 from Anthropic lands on CodeGPT

Now you can use Claude 2 from Anthropic, check this link: Documentation

✨ Join Our Community 🤜 🤛

We believe in collaboration and feedback, which is why we encourage you to get involved in our vibrant and welcoming Discord community. Feel free to ask questions, suggest new features, and share your experience with fellow coders. Click here to join our Discord.

code-gpt-docs's People

Contributors

adel242 avatar davila7 avatar gustavoespindola avatar jtbg avatar legius05 avatar maol-1997 avatar nickscamara avatar pilarhidalgo avatar psmyrdek avatar tmsagarofficial avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

code-gpt-docs's Issues

Use RTL instead of Enzyme to generate Unit Tests

The Unit Test Code GPT command generates unit tests that use Enzyme which is incompatible with React 18.
It would be good to default to RTL instead OR better, if it looked at the package.json to figure out the testing libraries used and generate the tests accordingly.

ctrl + shift + i

get code is not working for rust program, after writing the comment I am keeping my cursor at the end but then also it is not working.
showing this pop up
image

Configure code language and framework

Basically when asking to generate a test code for me, it generates it but it's not in the language I'm programming, I think that both for this functionality and for others that generate code it would be valid to have an option to select the language of the code and maybe the framework too

CodeGPT VSCode

Perhaps this is already an issue related to another open one. But got this response: "OpenAI API Response was: Error [ERR_SOCKET_CLOSED]: Socket is closed" when trying to ask codeGPT to generate a code.

Several, related issues?

I have uninstalled and reinstalled in VS Code with the same issues:

  • I had another extension using my API key and removed it, as well
  • When I try to do anything with ChatGPT I get
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX API could not process the query, try selecting the code and using Ask CodeGPT to write your own query
  • The API key shown is NOT my new API key that I entered. It's an old one.
  • When I check my API usage, none have ever been used. Not the one shown, nor the one I created today and entered into VS Code before submitting this report.

So nothing seems to work. Any suggestions?

I am on v1.0.15
I've tried with .jsx, .rb and .py files—none work.

Error para cambiar el idioma al Code GPT

sistema operativo: Windows 10
Versión de VSCode: 1.75.1

Imagen del error:
image
lo quiero cambiar a español y me aparece eso:
Captura
si aprieto ese cartel me sale esto:
image

nose que hacer...

Versión de CodeGPT: v1.0.15

add the API key, but can't get any output

have enter API Key (press cmd+shift+p and search for CodeGPT: Set API KEY) in VS Code. But when write codes with comments, no any help from ChatGPT.

after check, I got below error.

You exceeded your current quota, please check your plan and billing details.

But the API key in OpenAI is never be used.

image

If I directly use https://chat.openai.com/, I can get answer quickly.

Ops! Account problems. More information in the VSCode notification error.

Hi,

I'm trying to use the extension with a "Pay as you go" configured account. I have a newly generated API Key dedicated to the extension. But when i try to use any features, i have the following message :

"Ops! Account problems. More information in the VSCode notification error."

There is no more details in the notifications of VSCode.

I'm working on Windows 10, with WSL2.

OpenAI API Response was: Error

Hi, When I would like to try to use the extension, it failed with an response error.

Screenshot 2023-02-22 at 00 00 16

I have following the instructions to copy/paste the API keys and I do have free trial usage.

Incomplete Completion

When trying to refactor or explain longer chunks of code (350 lines or so), I get the following error message:

Ops! Incomplete Completion. The request requires 3043 tokens and you only have 500. Add more tokens in your CodeGPT Settings.

If I open Extension Settings for CodeGPT, it says "No Settings Found". And even if there were settings and I increased the max tokens, there would always be an upper limit. It might be possible to divide the code into smaller chunks, but with refactoring, it doesn't really work to refactor chunk by chunk. You need the full picture before starting. I realise this is mainly a limitation with the ChatGPT API, but is there any way around this issue?

Commands Inaccessible via VSCode Command Palette

Maybe this is user error, but I can't figure out what's causing this. Submitting this here in case it's not just me.

Code GPT Version: 1.0.12

Installation Method: VSCode integrated Extension search/installer

Visual Studio Code Version: 1.74.3

OS: macOS 12.3.1

Issue: None of the Code GPT commands are available through the VSC Command Palette. I tried closing and reopening VSC to no effect. In order to add my API key, I had to set a keyboard shortcut specifically to execute the respective Code GPT function.

After adding my API key, the commands are still unavailable via the Command Palette. However, the extension otherwise works normally as described in the docs. I.e. the various commands are available in the right-click menu. Command-shift-i works fine. Etc. Just nothing available through Command Palette.

Holy shit this is insane, I want some features

Hi there, first of all, this looks amazing
I'm envisioning a day where Issue2PR will be a reality, where every issue on github is automatically handled (ie, new branch will be created for issue requirements, tests will run, pr will be submitted)

until then, this is will certainly do fine :)
so yea a couple of requests:

First: Have the option to pre-append more than just the selection in a file
I want several files at once, potentially entire folders / all major files in the repo
With big enough context, it could remake an entire repo, and take everything into context and account
I even imagine something like a Todo.md where the final prompt is = {all my major files} + "suggest code changes to my repo that will solve all the unchecked missions in the Todo.md" + {Todo.md} + "Put all of these changes in an instructions-like md file which covers exactly what to change in each file, and if to remove or create new files as needed. Write all of you explanations in formatted comments and make sure to be exact as this instructions file will be consumed by another ai program to update the repo based on these instructions, so they have to be very accurate and beneficial.
Please have a mechanism to choose which files are included, they can be code files, or manifests (more context data for the model)

I really feel like we are scratching the surface of how to use these ai tools, and it seems like accessibly usability integrations compatibilities & capabilities. So having a chatbot on chatgpt is great, for me the checklist is

  • AI Assisted Terminal (my second point)
  • AI VS Code (which works on an entire repo-level context - which this will hopefully do)
  • Auto AI repo manipulation on github ie GithubGPT with Issue2PR
  • Operating System level, auto complete, ai useful-popup suggestion upon errors, macros, questions, action requests (ie real life Jarvis)

2ndly Terminal
You've already stepped into the world of VSCode, if you can generate files, can you interact with the terminal?
Take a look at Alice - if you can incorporate these abilities... this will make a 2/4 in my Grand Wishes / AI Holy Grails.

3rdly automation. Please consider helping to make an easy gateway to an api,
I'd like to start using LLMs in python, and could use some help...

4thly I'd like to suggest that you use LangChain under the hood, as it seems to enable not just the standard gpt responses but also go out into live services such as google search and wolframAlpha and plenty of other tools and services. Could really empower your extension imho

Please give me your thoughts :)
I Hope this finds you well; Can't wait for this project to skyrocket!
All the best! and have a good one! 💛

Unable to add API key on Fedora Silverblue toolbox VSCode

Hello, I'm using Fedora 36 Silverblue and VSCode in toolbox. After installing code gpt extension, I entered Code GPT: Set API key. I think the extension may not be compatible with the toolbox yet.

The following error occurred:
codegpt.setApiKeyCodeGPT not found

Error en aPI de cohere

Me aparece este error cuando utilizo las teclas rapidas cmd+shift+i al final de una pregunta a code GPT, he utilizado CodeGPT: Set API KEY, pero no se si esta cogiendo la api key de Cohere o la de OpenAI

Always getting this error: OpenAI API Response was: Error: Request failed with status code 429. More information about this error: https://www.codegpt.co/docs/tutorial-basics/api_errors

Getting the following error everytiime.

"OpenAI API Response was: Error: Request failed with status code 429. More information about this error: https://www.codegpt.co/docs/tutorial-basics/api_errors"

Even though the billing on my OPEN AI Account shows $0.05 / $18.00.

I've tried to change accounts, Api keys and even reinstalled the extension, with no luck.

Return a "undefined" file

Hi, this is awesome extesntion but it seems doesn't work for me. Not sure where did I something wrong.

After setting my API key, all responses are by creating a "undefined" file and it says"Ops! Account problems. More information in the VSCode notification error."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.