Skip to content

Add LM Studio endpoint and propose MIT license#14

Open
hvboq wants to merge 4 commits into
joshfreitas1984:masterfrom
hvboq:codex/add-lmstudio-translator
Open

Add LM Studio endpoint and propose MIT license#14
hvboq wants to merge 4 commits into
joshfreitas1984:masterfrom
hvboq:codex/add-lmstudio-translator

Conversation

@hvboq

@hvboq hvboq commented May 30, 2026

Copy link
Copy Markdown

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

  • Add LmStudioTranslate endpoint using LM Studio's default OpenAI-compatible /v1/chat/completions API.
  • Add LmStudio.yaml sample configuration.
  • Document LM Studio setup and endpoint selection in the README.
  • Add config tests for the LM Studio sample.
  • Fix glossary prompt override loading so *-GlossaryPrompt.txt updates GlossaryPrompt.
  • Update ILRepack packaging so release builds merge only YamlDotNet and work with current .NET SDK tooling.
  • Add a standard MIT LICENSE file using joshfreitas1984 and contributors as the copyright holder line.
  • Add PackageLicenseExpression=MIT to the plugin project metadata.
  • Refresh the README structure for supported endpoints, installation, configuration, override files, glossary behavior, prompt tuning, build/test commands, and current project notes.

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 --check
  • dotnet restore XUnity.AutoTranslate.LlmTranslators.sln
  • dotnet build XUnity.AutoTranslate.LlmTranslators.sln -c Debug --no-restore
  • dotnet build XUnity.AutoTranslate.LlmTranslators.sln -c Release --no-restore
  • dotnet test XUnity.AutoTranslate.LlmTranslators.sln -c Release --no-build --filter "FullyQualifiedName!~PromptTests"

Note: PromptTests were 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.

@hvboq hvboq changed the title Add LM Studio translator endpoint Add LM Studio endpoint and propose MIT license Jun 24, 2026
@hvboq hvboq marked this pull request as ready for review June 24, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant