You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a little confused on which LocalCommandLineCodeExecutor to use, the one from autogen_ext/code_executors/local or the one from autogen/coding/local_commandline_code_executor?
They have different inheritances:
class LocalCommandLineCodeExecutor(CodeExecutor, Component[LocalCommandLineCodeExecutorConfig])
class LocalCommandLineCodeExecutor(CodeExecutor)
and their execute_code_blocks have different signatures:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm a little confused on which LocalCommandLineCodeExecutor to use, the one from autogen_ext/code_executors/local or the one from autogen/coding/local_commandline_code_executor?
They have different inheritances:
and their execute_code_blocks have different signatures:
self, code_blocks: List[CodeBlock], cancellation_token: CancellationToken
) -> CommandLineCodeResult vs
The CodeExecutorAgent from autogen_agentchat seems to work only with the autogen_ext variant.
Could you please clarify if both versions have a reason to exist, or if one is a legacy that will be deprecated at some point in the future?
Beta Was this translation helpful? Give feedback.
All reactions