Repository navigation
Conversation
- Introduce LM Studio provider with default endpoint and credentials - Allow custom BaseURL and optional API key in OpenAI provider - Support reasoning models by stripping </think> tags - Add regex fallback to parse numeric spam scores from model responses - Add log statements for message analysis progress and prompt length
|
Thanks for your contribution, I really appreciate it. I have some questions / suggestions though: Is a dedicated provider really necessary if it just sets default values for an existing one? My suggestion would be: add a new provider "openai-compatible", which can extend the existing openai provider, which allows to set a custom url and has an optional api key. This would allow to support any openapi compatible endpoint without introducing one provider for each. |
Summary
This PR adds support for LM Studio as an AI provider and improves OpenAI-compatible response parsing.
Changes
lmstudioprovider extendingOpenAI, defaulting tohttp://localhost:1234/v1and API keylm-studio.urlconfiguration foropenaiprovider to target custom/local endpoints with optional API key.</think>tags from model output (useful for reasoning models such as DeepSeek-R1).\b(\d{1,3})\b) if direct integer parsing fails.config.example.yml.