Skip to content

[Feature][gpt-oss] Python Tool Test Enhancement #24199

@heheda12345

Description

@heheda12345

🚀 The feature, motivation and pitch

Python tool is disabled in CI now because it needs to run in docker but we can't do it as CI is already inside a docker.

@pytest.mark.skip(reason="Code interpreter tool is not available in CI yet.")

# "What is 13 * 24? Use python to calculate the result.",

Please also find a way to make sure the python tool is called and gives reasonable output.

To enable the test, you can use uv to execute the python tool with PYTHON_EXECUTION_BACKEND=dangerously_use_uv (https://github.com/vllm-project/recipes/blob/46a7a1c57ec04f6118e2fdc47e78f0b858f3180e/OpenAI/GPT-OSS.md?plain=1#L154C323-L154C365)

Alternatives

No response

Additional context

No response

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

Labels

feature requestNew feature or requestgpt-ossRelated to GPT-OSS models

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions