@namzu/lmstudio
v2.1.0
Published
LM Studio LLM provider for @namzu/sdk via the official @lmstudio/sdk. Local GUI-based model management, chat, and streaming with tool-use support.
Readme
The LM Studio model driver for Namzu.
Install · Usage · Documentation
Implements the kernel's LLMProvider interface over a local LM Studio
server, so a run can be driven by a model on your own machine with no key
and no egress. Installed only if you use it — the kernel has no preferred
vendor and no driver is a dependency of it.
Install
pnpm add @namzu/sdk @namzu/lmstudio@namzu/sdk is a peer dependency. Install both.
Usage
import { ProviderRegistry } from '@namzu/sdk'
import { registerHttp } from '@namzu/http'
registerHttp()
const { provider } = ProviderRegistry.create({
type: 'http',
baseURL: 'http://localhost:1234/v1',
dialect: 'openai',
})chatStream is the only model entry point; a non-streaming call is that
stream collected. In practice the kernel's run loop calls it and hands you
events.
Documentation
License
FSL-1.1-MIT, converting to MIT two years after each release.
