Releases: lmstudio-ai/lmstudio-python
Releases · lmstudio-ai/lmstudio-python
1.3.0
What's Changed
- Added a dedicated
configure_default_client
API (#82) - Runtime names of public API types now match their import names (#74)
- Tool call failures are now passed back to the LLM by default (#72)
- Synchronous clients now use fewer background threads (#77)
- Tool results now report non-ASCII characters as Unicode code points rather than as ASCII escape sequences (contributed by @jusallcaz in #80)
- The not-yet-implemented general file handling APIs have been removed from the public API (#81)
New Contributors
- @jusallcaz made their first contribution in #80
Full Changelog: 1.2.0...1.3.0
1.2.0 - 2025-03-22
What's Changed
- Align model loading config format with lmstudio-js 47 (previously aligned with lmstudio-js 46)
- Note: users of the experimental
gpuOffload
config setting will need to switch to setting the (still experimental)gpu
field
- Note: users of the experimental
- Explicitly note in relevant docstrings that details of config fields are not yet formally stabilised
- Pass previously omitted config settings to the server (#51)
- Add speculative decoding example (#55)
- Publish config retrieval APIs (#53, #54)
- Add server side token counting APIs (#57)
- Simplify prediction API type hinting (#59)
- Add preset config support in prediction APIs (#58) (Requires LM Studio 0.14+)
- Add GBNF grammar support when requesting structured responses (#60) (Requires LM Studio 0.14+)
Full Changelog: 1.1.0...1.2.0
1.1.0 - 2025-03-15
What's Changed
- Added SDK versioning policy to
README.md
(#42) - Support Python 3.10 (#41)
- Support image input for VLMs (#34)
- Publish file preparation APIs (#37, #39)
- Add image preparation APIs (#38, #39)
- Avoid corrupting snake_case keys in structured output schemas supplied via prediction config dicts (#43)
Full Changelog: 1.0.1...1.1.0
1.0.1 - 2025-03-03
What's Changed
- Handle JIT model unloading notification messages (#26)
- Simplify inferred tool names (#27)
- Accept tool use messages via public
Chat
APIs (#28)
Full Changelog: 1.0.0...1.0.1
1.0.0 - 2025-02-27
Initial release of Python SDK
1.0.0rc1 - 2025-02-27
Initial release of Python SDK (release candidate)