Switch to a provider-based framework #129
Replies: 1 comment
-
This has been a long time coming, and it's the second attempt to make the change. On the surface not that much is different, but underneath the hood it involved a substantial amount of rewiring to decouple the translation process from OpenAI-specific concepts and to maintain separate settings for each provider. If you're using the command-line interface even less will change, but it is worth noting that many command line arguments have had their single-letter form removed so you will have to use the full argument name. See the updated readme for details. With a change of this scope there are bound to be new bugs and oversights, so please raise an issue if you encounter any problems. I've been testing it for a while though, and find it to be stable. |
Beta Was this translation helpful? Give feedback.
-
v0.6.0 brings a major architectural overhaul to lay the groundwork for supporting different AI services as translation providers.
This involves changes to how settings are stored and updated, to support provider-specific settings, and the accompanying UI changes. If you have an existing installation your settings should be migrated automatically when you launch the GUI. You will be prompted to set a provider, though there is only one option.
If this is a new install you will be prompted to select a provider on first launch, then taken automatically to the settings page to configure the settings for that provider.
The only provider supported in this release is OpenAI, but it paves the way to add support for other services such as Gemini, Claude and OpenAI-Azure, or even locally hosted models. Spoiler alert: Gemini should be available by the end of the weekend.
If you are maintaining a fork of the project this will likely be a difficult merge as it involved many changes. The project architecture is cleaner now though, so it should be easier to expand and maintain going forward.
What's Changed
Full Changelog: v0.5.9...v0.6.0
This discussion was created from the release Switch to a provider-based framework.
Beta Was this translation helpful? Give feedback.
All reactions