Releases: timkmecl/chatgpt-vscode
Show token usage, bug fixes
GPT4 + custom API URL
Official ChatGPT API
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!
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
- 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
- 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
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
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
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
Download from VSCode Marketplace
Updates:
- added commands/shortcuts to the context menu
- added several extension settings
Commands:
Ask ChatGPT
: will provide a prompt for you to enter any queryChatGPT: Explain selection
: will explain what the selected code doesChatGPT: Refactor selection
: will try to refactor the selected codeChatGPT: Find problems
: looks for problems/errors in the selected code, fixes and explains themChatGPT: 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.