Skip to content

Conversation

CivaaBTW
Copy link
Contributor

@CivaaBTW CivaaBTW commented Aug 8, 2025

This PR fixes a critical bug in docker_tool.py that causes a TypeError when PythonTool processes a message.

Change Description

The PythonTool._process method attempts to call self._make_response(output, channel=channel). But, the _make_response method was not defined to accept a channel argument. This mismatch caused the program to crash and produce a TypeError.

Here is the call that incorrectly passes channel:

yield self._make_response(output, channel=channel)

Change Made

Therefore I added the channel parameter to the _make_response method and passed it through to the existing make_response method.

@dkundel-openai
Copy link
Collaborator

Closing in favor of #33 thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants