Skip to content

Commit e73da24

Browse files
fix: Add channel parameter to PythonTool response handling (#33)
Signed-off-by: Xinyuan Tong <[email protected]>
1 parent a4f98ea commit e73da24

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)