Skip to content

Turnspan 1

Choose a tag to compare

@michaelgiraldo michaelgiraldo released this 19 Nov 22:55
· 88 commits to main since this release

Turnspan 1 is the first named release of the maintained Python 3.14 fork of OpenAI ChatKit 1.6.5. It installs as openai-chatkit 1.6.5+turnspan.1 and uses the existing chatkit imports.

What changed

  • Chat streams close when the user stops or disconnects. The server restores request headers and can save a partial reply so the thread can be reloaded and continued.
  • Widget updates handle removed and added properties and text components without IDs. Repeated workflow tasks update the correct position. An empty streamed citation leaves later citations intact.
  • The quickstart includes a FastAPI extra and an offline backend smoke test. The Responses examples cover saving a completed response ID and falling back to thread history. The model and transcription examples use current OpenAI models.

Install requirements

Python 3.14 or newer, OpenAI Python >=3.56.0,<4, and Agents SDK >=0.25.0,<0.26. The package also requires Pydantic >=2.14.4,<3, Uvicorn >=0.54.0,<1, and Jinja >=3.1.6,<4. See the pinning guide for the commit-pinned install.

Install from the tested commit with Python 3.14 or newer.

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

Verification

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

Credits

  • Andrew Barnes for dynamic widget properties (#134).
  • Shubham Padkonde for streamed widget text and the disconnect report (#132, #133).
  • Rio Yu for workflow task indexing and the header restoration report (#135, #136).
  • Jao Garcia for the backend smoke test (#118).
  • Nate Jones for the streamed citation conversion fix (#129).

Full changes since OpenAI ChatKit 1.6.5