Provisional support for Claude and Azure
Added support for Anthropic's Claude 3 models as a translation provider.
The Anthropic SDK doesn't provide a way to retrieve the list of available models so the latest model names for the three sizes of Claude 3 model are hardcoded. I've tested the Haiku and Sonnet models and didn't see much difference between them, so I recommend using Haiku as it's by far the cheapest. The quality is impressive - perhaps a little below Gemini 1.0 Pro, but able to handle larger batch sizes with few errors.
This release also adds support for OpenAI Azure installations. This is a community-contributed integration, I don't have an OpenAI Azure account so I will rely on feedback and further assistance to keep it up to date.
There are a few changes under the hood to streamline the translation flow to better support the specific quirks of each provider.
** 2024-03-20 Release updated with some bug fixes - just download and unzip it again **
What's Changed
- Provisional support for Claude by @machinewrapped in #143
- Provisional support for OpenAI Azure by @IlmariKu
- Implemented a provider cache by @machinewrapped in #142
- Fixed "Translate Selection" pointlessly translating batches with no selected lines
- Fix for lines with an empty translation stealing the following line's Original>...Translation> text (mainly for Gemini, the other models typically desync instead)
- Fix for merging selecting lines in the GUI
- Speculative fix for random GUI crashes
Full Changelog: v0.6.3...v0.6.4