Skip to content

Conversation

jakubno
Copy link
Member

@jakubno jakubno commented Aug 22, 2025

Forgotten text with old way how to create sandbox in sync Python

@jakubno jakubno self-assigned this Aug 22, 2025
@jakubno jakubno added the bug Something isn't working label Aug 22, 2025
Copy link

changeset-bot bot commented Aug 22, 2025

🦋 Changeset detected

Latest commit: c344e21

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@e2b/cli Patch

Not sure what this means? Click here to learn what changesets are.

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

@jakubno jakubno changed the title Update cli build toml string Update docstring in toml after CLI template build Aug 22, 2025
cursor[bot]

This comment was marked as off-topic.

@jakubno
Copy link
Member Author

jakubno commented Aug 22, 2025

Bug: Template ID Interpolation Causes Syntax Errors

The multi-line string interpolation for template IDs/names in getConfigHeader adds newlines and whitespace to the generated Python and JavaScript SDK examples in the e2b.toml config header, leading to invalid syntax.

packages/cli/src/config/index.ts#L21-L30
packages/cli/src/commands/template/build.ts#L482-L485
Fix in Cursor Fix in Web

Comment @cursor review or bugbot run to trigger another review on this PR

It's only code snippets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant