Skip to content

Releases: timkmecl/chatgpt-vscode

Show token usage, bug fixes

11 Apr 14:37
Compare
Choose a tag to compare

GPT4 + custom API URL

09 Apr 18:40
Compare
Choose a tag to compare

If you have access to GPT4 API, you can now use it in this extension! Moreover, it is now possible to set custom URL for the API.

Big thanks to @easychen for the PR #25!

Download from the Marketplace

Official ChatGPT API

02 Mar 12:12
Compare
Choose a tag to compare

Now connects to ChatGPT via the offcial API release this week!

This however means that using the extension now spends your OpenAI account's credits (0.002$/1k tokens). If you don't have any credits on your account, you will receive an error. To use the free codex models try version using GPT3 instead (marketplace, github)

Download from VSCode Marketplace

Works via API key from OpenAI!

01 Feb 18:30
Compare
Choose a tag to compare

Works again via new method, you only need an API key from OpenAI. Get the key here.
No more 402/429 errors, no need to copy tokens from browser every time or even have the browser open.

Download from VSCode Marketplace

Prettier response, documentation shortcut

03 Jan 18:35
Compare
Choose a tag to compare
  • Added shortcut to automatically write code documentation
  • Prettier formatting of the response

Download from VSCode Marketplace

Due to CloudFlare use by OpeanAI, there are currently some users receiving 403 or 429 erros even when entering all three tokens.

UX improvements

13 Dec 16:37
Compare
Choose a tag to compare
  • If there is some already written response and an error occurs, the error will be appended to the end instead of replacing it
  • When resetting the conversation, the previous response and prompt will also be cleared
  • updated README to include some common issues

Due to CloudFlare use by OpeanAI, there are currently some users receiving 403 erros even when entering all three tokens. If you happend to know why this is the case, please let me know!

Fixes for December 12 breaking changes by OpenAI

12 Dec 16:09
Compare
Choose a tag to compare

Because ChatGPT now uses CloudFlare, previous versions do no longer work. Three tokens are now needed instead of just one (read the updated README.md for more info). There are also some minor UX improvements.

UX improvements

09 Dec 08:41
Compare
Choose a tag to compare

Download from VSCode Marketplace

Updates

  • Unfinished previous message will stop being written after sending a new one to the API
  • Added placeholder text to the input bo

Conversation context maintained

08 Dec 21:24
Compare
Choose a tag to compare

Download from VSCode Marketplace

Updates:

  • You can now ask follow-up questions and maintain a conversation with ChatGPT, like on the web
  • New settings
  • New commands

To reset the conversation context, click ctrl+shift+p and select ChatGPT: Reset Conversation

Context menu shortcuts/commands

07 Dec 16:40
Compare
Choose a tag to compare

Download from VSCode Marketplace

Updates:

  • added commands/shortcuts to the context menu
  • added several extension settings

⚠️WARNING! Session token must be entered again upon update!⚠️


Commands:

  • Ask ChatGPT: will provide a prompt for you to enter any query
  • ChatGPT: Explain selection: will explain what the selected code does
  • ChatGPT: Refactor selection: will try to refactor the selected code
  • ChatGPT: Find problems: looks for problems/errors in the selected code, fixes and explains them
  • ChatGPT: Optimize selection: tries to optimize the selected code

Ask ChatGPT is also available when nothing is selected. For the other four commands, you can customize the exact prompt that will be sent to the AI by editing the extension settings in VSCode Preferences.