Add LM Studio endpoint and propose MIT license#14
Open
hvboq wants to merge 4 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an LM Studio translator endpoint for local OpenAI-compatible chat completion servers, proposes adopting the MIT License, and refreshes the README.
This lets users run translations through LM Studio's local server, which can be faster for local workflows and avoids routing requests through external hosted APIs.
Changes
LmStudioTranslateendpoint using LM Studio's default OpenAI-compatible/v1/chat/completionsAPI.LmStudio.yamlsample configuration.*-GlossaryPrompt.txtupdatesGlossaryPrompt.YamlDotNetand work with current .NET SDK tooling.LICENSEfile usingjoshfreitas1984 and contributorsas the copyright holder line.PackageLicenseExpression=MITto the plugin project metadata.License note
The upstream repository currently does not expose a detected license through GitHub metadata. This PR proposes adopting MIT so users and contributors have explicit permission terms for use, modification, and redistribution.
Validation
git diff --checkdotnet restore XUnity.AutoTranslate.LlmTranslators.slndotnet build XUnity.AutoTranslate.LlmTranslators.sln -c Debug --no-restoredotnet build XUnity.AutoTranslate.LlmTranslators.sln -c Release --no-restoredotnet test XUnity.AutoTranslate.LlmTranslators.sln -c Release --no-build --filter "FullyQualifiedName!~PromptTests"Note:
PromptTestswere excluded because they can call live OpenAI/Ollama/LM Studio endpoints.Known warning: restore/build still reports the existing high-severity advisory for
YamlDotNet 4.2.1.