forked from jupyterlab/jupyter-ai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove retired models and add new
Haiku-3.5
model in Anthropic (jup…
…yterlab#1092) * Updated `anthropic.py` to remove deprecated models, remove `AnthropicProvider` class, add new models Removed all deprecated models as listed here: https://docs.anthropic.com/en/docs/resources/model-deprecations. This makes the `AnthropicProvider` class redundant, so it is now removed. The corresponding entry in `pyproject.toml` is also deleted. The class `ChatAnthropicProvider` is updated to include the new `Claude-3.5-Haiku`model, and the function to check for API key exception has been added. The older version of `Claude-3.5-sonnet` has also been removed. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Anthropic models added --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
71be3ce
commit 55ca34e
Showing
3 changed files
with
14 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters