1.1.20
Changelog
(2024-02-06) Python Version 1.1.20, NPM Version 1.1.9
Last PR included in this release: #1153
Features
- python-sdk: Updated required python version from >=3.7 → >=3.10 (#1146). This is a breaking change if you were previously using <=3.9, so please update your python version if needed
- python-sdk: Removed explicit authorization check in Azure model parser client (#1080). This is a breaking change if you were previously setting the api key with
client.api_key
. You must now set theAZURE_OPENAI_KEY
,AZURE_OPENAI_ENDPOINT
,OPENAI_API_VERSION
andOPENAI_API_KEY
variables in your environment - editor: Built keyboard shortcut to run prompt from prompt input textbox using CTRL + Enter or SHIFT + Enter (#1135)
- editor: Supported Markdown rendering for AIConfig description field (#1094)
[vscode extension] Created VS Code extension for AIConfig Editor (#1075) - python-sdk: Created methods
load_json
andload_yaml
(#1057)
[vscode extension] Createdto_string
SDK method and server endpoint for vscode extension and local editor (#1058, #1059) - editor: Added ability to override Mantine’s
showNotification
function with a custom callback: (#1030). Will be used in VS Code extension to use VS Code’s built-in notification framework
Bug Fixes / Tasks
- python-sdk: Fixed event loop crash caused by re-running the Gemini API a 2nd time (#1139)
- editor: Added Download button to read-only mode (#1071)
- python-sdk: Added logic to register models and model parsers during
create()
command, not justload()
(#1078) - editor: Fixed the width for the title, description, global parameters and add prompt components to match size of the rest of the prompt container components (#1077, #1081, #1124)
- editor: Clarified error message when in JSON-editor mode for prompt inputs and switching between models, including how to fix it by toggling off JSON-editor mode (#1118)
- editor: Placed + button into it’s own row to ensure it does not float above the parameters key-value pairs (#1084)
- editor: Limited the prompt input settings height to match the size of the prompt input so it is not too large (#1051)
- editor: Added prompt input settings schema for local Hugging Face task names (#1110)
- editor: Removed Save button if no callback is implemented for it (#1123)
- python-sdk: Exported missing default model parsers (#1112)
- editor: Created separate prompt input schemas for Dall-E 2 vs. Dall-E 3 (#1138)