Tomas Valenta

Results 143 comments of Tomas Valenta

This is waiting until we merge beta SDK into main.

Merged via https://github.com/e2b-dev/E2B/pull/854

This is no longer relevant in this repo, right?

Everything is ok, but we are keeping the branch unmerged because the changes are only in preview.

Merged via https://github.com/e2b-dev/E2B/pull/854

Hey @XitaoLi , we recommend using the Beta SDK (https://e2b.dev/docs/guide/beta-migration) — it has module for terminal (`pty`) that should work more clearly. Here is the implementation (https://github.com/e2b-dev/E2B/blob/beta/packages/python-sdk/e2b/sandbox_sync/pty/main.py) and here is...

We added the `pty`/terminal to the Python Beta SDK — https://github.com/e2b-dev/E2B/blob/beta/packages/python-sdk/e2b/sandbox_sync/pty/main.py#L78 A very brief example of the usage can be found in the SDK automated tests here https://github.com/e2b-dev/E2B/tree/beta/packages/python-sdk/tests/sync/sandbox_sync/pty We are...

> It still can't change the working directory flexibly according to the cd command. With the `commands.run`, each run is like a separate terminal session, and the directory you got...

Closing as the described behavior in the new SDK is intended. We might take this into account when doing redesigns of the SDK API in the future though.