- Improved formatting of generated docstring
- Added support for different AI providers
- Updated Python dependencies (pygls, openai)
- Fixed HTTP proxy athorisation (
Proxy-Authorisation
header was not used) - Updated Python dependencies (aiohttp, aiohttp-socks)
- Added proxy support
- Updated Python dependencies (jedi)
- Dropped support for Python 3.8
- Added
gpt-4o
andgpt-4o-mini
OpenAI models - Updated documentation
- Reduced extension size
- Added removal of function indents from ChatGPT request
- Added instruction that untrusted workspaces are not supported with extension
- Changed scope of extension settings to all levels
- Performed code maintenance
- Added
onNewLine
option - Removed new line for closing quotes of one-line docstring
- Added
gpt-4
andgpt-4-turbo
OpenAI models - Dropped
text-davinci-002
OpenAI model - Updated documentation
- Updated documentation
- Changed key bindings
- Added docstring completion provider triggered by
"""
- Added removal of existing function docstring and blank lines from ChatGPT request
- Fixed wrong insertion position of generated docstring if another exists
- Increased default ChatGPT response timeout
- Changed
chatgptPromptPattern
option name topromptPattern
- Added
responseTimeout
option - Added support for canceling docstring generation
- Added
showProgressNotification
option - Added logging PID language server to output channel
- Added support for language status reports
- Added new command
Show Logs
- Updated minimum supported Python version to 3.8
- Updated Python and Node.js dependencies
- Fixed starting a python language server with an unsupported interpreter specified in the extension settings
- Fixed handling of an error when saving an OpenAI API key to the
SecretStorage
- Added an error notification for getting an OpenAI API key from the
SecretStorage
- Fixed the need to enter an OpenAI API key for each docstring generation when it is not possible to save the key to the
SecretStorage
- Added telemetry reporting
- Fixed formatting docstring when ChatGPT returns it as MD code block
- Improved error notifications
- Added OpenAI API Key section to documentation
- Moved OpenAI API key from settings to secret storage
- The initial release