e2b-dev / E2B

Secure open source cloud runtime for AI apps & AI agents
https://e2b.dev/docs
Apache License 2.0
7.02k stars 458 forks source link

Fix Getting Started Examples #452

Closed jamesmurdza closed 1 month ago

jamesmurdza commented 1 month ago

The current Getting Started examples are broken because 1) they don't specify the Anthropic SDK version and 2) they use exports from a deprecated beta version.

The example code has now been migrated in the cookbook (https://github.com/e2b-dev/e2b-cookbook/commit/d28460156cf07e23c114581dc6dfafb71493418d) so I'm copying it into the documentation here to fix the examples.

The Anthropic SDK version has also been notes to avoid our examples suddenly breaking in the future.

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: 85c1b87af82af399dbbb2bcbd00ea6eb43d1f27e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR