gdmka's profile picture
gdmka

openai-compat-endpoint

Public

Chat with cloud AI models directly from LM Studio!

1.8K Downloads

7 stars

2 forks

README

OpenAI Adapter for LM Studio

Use any OpenAI-compatible API in LM Studio.

Fork Information

Forked from: https://lmstudio.ai/lmstudio/openai-compat-endpoint

Fork Author: gdmka

What's new

  • Fixed: chat requests with function tools enabled would fail with a 400 error ("Function tools with reasoning_effort are not supported...") on models like gpt-5.6-luna. The plugin now automatically uses reasoning_effort: "none" when tools are present and the OpenAI reasoning provider is active, and "none" is now a documented, selectable value for the reasoning effort setting.
  • Added support for reasoning effort and thinking for OpenAI and Anthropic compatible models

Additional Features

  • Added support for sampling parameters (temperature, top_p, etc.)
  • Added capability to call any OpenAI compatible provider
  • Added custom system prompt support with dynamic variable substitution
    • Supports variables: {date}, {time}, {datetime}, {model}, {timestamp}, {year}, {month}, {day}
    • Automatic validation with warnings for long prompts or unknown variables
    • System prompt can be configured per-model in the plugin settings

Roadmap & bugs

Got feature requests or bugs? Drop them in the Issues tab—every ticket gets love.