-
Notifications
You must be signed in to change notification settings - Fork 181
added context methods to the SDK + tests #179
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
jakubno
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Can you make the tests for restart, remove and list more specific? 🙏🏻
jakubno
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't this return some contexts multiple times, making the total count weird?
Note
Adds list/remove/restart context APIs to JS/Python SDKs and server, updates contexts listing, and adds comprehensive tests.
listCodeContexts/list_code_contexts,removeCodeContext/remove_code_context,restartCodeContext/restart_code_context.POST /contexts/{id}/restartandDELETE /contexts/{id}.GET /contextsnow returns a list excluding thedefaultcontext.@e2b/code-interpreterand@e2b/code-interpreter-python.Written by Cursor Bugbot for commit 51b0d17. This will update automatically on new commits. Configure here.