Skip to content

Conversation

@XinyuYe-Intel
Copy link
Collaborator

Description

Added python code execution tool support.

Issues

n/a.

Type of change

  • New feature (non-breaking change which adds new functionality)

Dependencies

qwen-agent.

Tests

Describe the tests that you ran to verify your changes.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add a UT for python code execution tool.

@joshuayao joshuayao added this to the v1.3 milestone Mar 28, 2025
Copy link
Contributor

@eero-t eero-t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executor description: https://github.com/QwenLM/Qwen-Agent/blob/main/qwen_agent/tools/python_executor.py#L84

States following:

For executing python code. Not sandboxed. Do not use it for production purposes.

=> Is this going to be sandboxed?

@minmin-intel
Copy link
Collaborator

We should plan and review the python code execution tool more carefully. Is this needed for v1.3 release? Shall we do a more careful design and consider other kinds of implementation not just qwen-agent? @lkk12014402 @XinyuYe-Intel

@eero-t
Copy link
Contributor

eero-t commented Mar 31, 2025

RFC for this is not accepted yet (is missing necessary details): opea-project/docs#331

@joshuayao joshuayao removed this from the v1.3 milestone Apr 3, 2025
@lkk12014402
Copy link
Collaborator

We should plan and review the python code execution tool more carefully. Is this needed for v1.3 release? Shall we do a more careful design and consider other kinds of implementation not just qwen-agent? @lkk12014402 @XinyuYe-Intel

yes, we don't need depend on qwen-agent because it is not a mature code repository

@joshuayao joshuayao added this to the v1.4 milestone May 13, 2025
@joshuayao joshuayao added the feature New feature or request label May 13, 2025
@joshuayao joshuayao linked an issue May 13, 2025 that may be closed by this pull request
@CICD-at-OPEA
Copy link
Collaborator

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@CICD-at-OPEA
Copy link
Collaborator

This PR was closed because it has been stalled for 7 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Embedded Agent Tool for Python Code Execution

8 participants