github jupyterlab/jupyter-ai v2.28.0

12 hours ago

2.28.0

(Full Changelog)

Release summary

This release notably includes the following changes:

  • Models from the Anthropic and ChatAnthropic providers are now merged in the config UI, so all Anthropic models are shown in the same place in the "Language model" dropdown.

  • Anthropic Claude v1 LLMs have been removed, as the models are retired and no longer available from the API.

  • The chat system prompt has been updated to encourage the LLM to express dollar quantities in LaTeX, i.e. the LLM should prefer returning \(\$100\) instead of $100. For the latest LLMs, this generally fixes a rendering issue when multiple dollar quantities are given literally in the same sentence.

    • Note that the issue may still persist in older LLMs, which do not respect the system prompt as frequently.
  • /export has been fixed to include streamed replies, which were previously omitted.

  • Calling non-chat providers with history has been fixed to behave properly in magics.

Enhancements made

  • Remove retired models and add new Haiku-3.5 model in Anthropic #1092 (@srdas)
  • Reduced padding in cell around code icons in code toolbar #1072 (@srdas)
  • Merge Anthropic language model providers #1069 (@srdas)
  • Add examples of using Fields and EnvAuthStrategy to developer documentation #1056 (@alanmeeson)

Bugs fixed

  • Continue to allow $ symbols to delimit inline math in human messages #1094 (@dlqqq)
  • Fix /export by including streamed agent messages #1077 (@mcavdar)
  • Fix magic commands when using non-chat providers w/ history #1075 (@alanmeeson)
  • Allow $ to literally denote quantities of USD in chat #1068 (@dlqqq)

Documentation improvements

  • Improve installation documentation and clarify provider dependencies #1087 (@srdas)
  • Added Ollama to the providers table in user docs #1064 (@srdas)

Contributors to this release

(GitHub contributors page for this release)

@alanmeeson | @dlqqq | @krassowski | @mcavdar | @srdas

Don't miss a new jupyter-ai release

NewReleases is sending notifications on new releases.