Skip to content

Releases: lmstudio-ai/lmstudio-python

1.3.0

24 Apr 17:40
6be1164
Compare
Choose a tag to compare

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

Full Changelog: 1.2.0...1.3.0

1.2.0 - 2025-03-22

21 Mar 15:36
fdd71c5
Compare
Choose a tag to compare

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
  • 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

14 Mar 15:15
30d8d08
Compare
Choose a tag to compare

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

03 Mar 15:53
0294330
Compare
Choose a tag to compare

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

27 Feb 19:24
470b46c
Compare
Choose a tag to compare

Initial release of Python SDK

1.0.0rc1 - 2025-02-27

27 Feb 18:48
4a35383
Compare
Choose a tag to compare
1.0.0rc1 - 2025-02-27 Pre-release
Pre-release

Initial release of Python SDK (release candidate)