Skip to content

Update LMStudio LLM & Embedder for API token#4948

Merged
timothycarambat merged 1 commit intomasterfrom
4944-lmstudio-auth-token
Jan 30, 2026
Merged

Update LMStudio LLM & Embedder for API token#4948
timothycarambat merged 1 commit intomasterfrom
4944-lmstudio-auth-token

Conversation

@timothycarambat
Copy link
Member

Pull Request Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #4944

What is in this change?

  • Updates Option panels to be consistent for other providers adds API key to all LMStudio API calls
  • Applied changes to LLM and Embedder
  • Tested all combinations with and without a key applied to AnythingLLM or LMStudio server

Additional Information

  • Sending an API key when LMStudio does not require it has no impact on any calls
  • Catches Unauthorized throws from sending invalid non-api keyed requests to LMstudio server.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

- Updates Option panels to be consistent for other providers
adds API key to all LMStudio API calls
@timothycarambat timothycarambat merged commit 97b140b into master Jan 30, 2026
1 check passed
@timothycarambat timothycarambat deleted the 4944-lmstudio-auth-token branch January 30, 2026 19:13
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.

[FEAT]: Support LM Studio API Keys

1 participant