Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @anthropic-ai/sdk to v0.18.0 #93

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 20, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@anthropic-ai/sdk 0.17.2 -> 0.18.0 age adoption passing confidence

Release Notes

anthropics/anthropic-sdk-typescript (@​anthropic-ai/sdk)

v0.18.0

Full Changelog: sdk-v0.17.2...sdk-v0.18.0

Features
Documentation

Configuration

📅 Schedule: Branch creation - "* 0-4 * * 3" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

[puLL-Merge] - anthropics/[email protected]

logError The patch is trivial, no need for a summarization

Copy link

[puLL-Merge] - anthropics/[email protected]

Description

This pull request (PR) introduces an update to the anthropic-sdk-typescript, elevating it from version 0.17.2 to 0.18.0. The modifications include the addition of a new haiku model to the API, updates to documentation, and changes in model references within example codes. The motivation behind these changes seems to be the introduction of new features and improvements to the SDK documentation.

Changes

Changes

General

  • Updated the SDK version from 0.17.2 to 0.18.0 across various files including package.json, .release-please-manifest.json, and src/version.ts.

CHANGELOG.md

  • Added entries for version 0.18.0, detailing features and documentation updates.
  • Notable feature: addition of haiku model (claude-3-haiku-20240307) to the API.
  • Documentation: updated models in vertex examples.

Vertex SDK Specific Changes

  • Updated the Vertex SDK version from 0.2.1 to 0.2.2 in packages/vertex-sdk/package.json.
  • Updates in packages/vertex-sdk/CHANGELOG.md to reflect the version update and documentation enhancements.
  • Documentation: Updated examples in both the README and examples (packages/vertex-sdk/README.md and packages/vertex-sdk/examples/vertex.ts) to use claude-3-sonnet@20240229 model instead of claude-instant-1p2.

Code Modifications

  • Added claude-3-haiku-20240307 to allowable model identifiers in src/resources/messages.ts.

Security Hotspots

  1. Model Identifier Updates (High): Changing default models (claude-instant-1p2 to claude-3-sonnet@20240229) in examples could have an impact on the functionality expectations and behavior of the SDK's users. Careful validation of these new models' outputs is necessary to ensure they meet user expectations and do not introduce unexpected behavior, especially in sensitive applications.

  2. API Changes (Medium): Introduction of the claude-3-haiku-20240307 model and its inclusion in the SDK increase the surface area for potential abuse. Verifying the model's security in terms of its response to malicious inputs is crucial to prevent any potential exploitation.

  3. Version Management (Low): The versioning change involves several files and encompasses both the main SDK and the Vertex SDK. Adequate versioning and dependency management are critical to ensure compatibility and stability across the SDK and its consumers. Incorrect versioning could lead to dependency resolution issues or conflicts in consumer applications.

Overall, this PR presents significant feature and documentation updates. The addition of the haiku model, in particular, warrants thorough testing to ensure it integrates seamlessly with existing functionality and does not introduce security vulnerabilities, especially given the sensitive nature of language models.

@thypon thypon enabled auto-merge (rebase) March 20, 2024 14:40
@thypon thypon merged commit e28b30d into main Mar 20, 2024
7 checks passed
@thypon thypon deleted the renovate/anthropic-ai-sdk-0.x branch March 20, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant