camel icon indicating copy to clipboard operation
camel copied to clipboard

[Feature Request] Code Interpreter optimize

Open Wendong-Fan opened this issue 8 months ago • 3 comments

Required prerequisites

  • [x] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
  • [ ] Consider asking first in a Discussion.

Motivation

  1. support dynamic dependency loading (when the code require some dependency, can install it automaticlly)
  2. support more coding languages

Solution

No response

Alternatives

No response

Additional context

No response

Wendong-Fan avatar Apr 10 '25 06:04 Wendong-Fan

@Wendong-Fan is this subprocesses?

GitHoobar avatar Apr 10 '25 07:04 GitHoobar

The current terminal toolkit should be able to do this?

fengju0213 avatar Apr 10 '25 12:04 fengju0213

hey @GitHoobar , it's for ALL code interpreters if it's doable @fengju0213 terminal toolkit could make it, but it's just using subprocess I think, user still have the requirement when they using other types of code interpreters like docker, ipython and so on

Wendong-Fan avatar Apr 13 '25 01:04 Wendong-Fan

code could reused: https://github.com/camel-ai/camel/blob/master/camel/verifiers/python_verifier.py#L64

Wendong-Fan avatar May 26 '25 15:05 Wendong-Fan