Project Files
README.md
Route chat requests to any OpenAI-compatible API endpoint (local LAN, remote server) with system prompt presets from your LM Studio config presets. Select from your saved presets via dropdown, or override with custom text—perfect for image generation, video, coding, and other specialized prompts.
~/.cache/lm-studio/config-presets/*.preset.json) via dropdown. Automatically injects the preset's system prompt into upstream API requests.lms CLI available (LM Studio must be run at least once before lms works).npm run dev runs lms dev, which starts the plugin dev server, verifies manifest.json, installs deps if needed, and rebuilds on changes.
Configuration is done in LM Studio plugin settings.
http://192.168.x.x:port for local LAN)Qwen/Qwen3.6-35B-A3B-FP8)http://localhost:port).Qwen/Qwen3.6-35B-A3B-FP8).If the model is missing, the plugin will return an error asking you to set it.
System prompt presets are read from your LM Studio config preset files at:
Each preset file contains an llm.prediction.systemPrompt field. The plugin loads all presets at startup and presents them as a dropdown in the plugin settings. Selecting a preset causes its system prompt to replace the chat's system message in the API request sent to your endpoint.
src/.dist/ (generated by TypeScript).src/generator.ts, src/config.ts, src/presets.ts, manifest.json.To publish your plugin to the LM Studio Hub:
Add -y to skip confirmation prompt. If not authenticated, run lms login first.
Never hardcode API keys. Use the protected global config field instead.
ISC
npm install
npm run dev
~/.cache/lm-studio/config-presets/*.preset.json
lms push