Skip to content

Turnspan 2

Choose a tag to compare

@michaelgiraldo michaelgiraldo released this 20 Nov 00:11
· 81 commits to main since this release

Turnspan 2 is the public Python 3.14 fork of OpenAI ChatKit. It installs as openai-chatkit 1.6.5+turnspan.2 and uses the existing chatkit imports.

What changed

  • Chat Completions replies get distinct IDs that stay consistent during streaming and after reload. Responses keeps the IDs OpenAI supplies. Thanks to Jacob Babula. PR #128
  • A ListView inside a Card now parses as a typed list. We verified that it renders, handles clicks, and restores its updated state in the official ChatKit browser client. Thanks to Saloni Garg. PR #137
  • Agents requests now use the SDK default User-Agent or the app's configured value. Turnspan's automatic ChatKit/Python suffix was removed.
  • Plain pytest works in a clean checkout with PYTHONPATH unset. Thanks to Mark Zhang. PR #122
  • The response guide shows how tools can access the thread ID and how to persist structured results after a successful stream. Thanks to Jao Garcia. Issue #120

Install

Turnspan 2 requires Python 3.14 or newer, OpenAI Python >=3.56.0,<4, and Agents SDK >=0.25.0,<0.26.

python -m pip install 'openai-chatkit @ https://github.com/michaelgiraldo/chatkit-python/archive/4c7ba491e885fedf5c8cb97aa0546770e0f64e15.tar.gz'

See the pinning guide for locking an app to this commit.

Verification

GitHub Actions passed all 164 tests, formatting and type checks, the docs build, and clean wheel installs with and without FastAPI. CI run

Full changes since Turnspan 1