Skip to content

Commit 738cee0

Browse files
JustinTong0323Danztee
authored andcommitted
fix: Add channel parameter to PythonTool response handling (openai#33)
Signed-off-by: Xinyuan Tong <[email protected]>
1 parent 2675cb8 commit 738cee0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gpt_oss/tools/python_docker/docker_tool.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,10 @@ def tool_config(self) -> ToolNamespaceConfig:
9292
def _make_response(
9393
self,
9494
output: str,
95+
channel: str | None = None,
9596
) -> Message:
9697
content = TextContent(text=output)
97-
return self.make_response(content=content)
98+
return self.make_response(content=content, channel=channel)
9899

99100
def make_response(
100101
self,

0 commit comments

Comments
 (0)