feat(channels): split send_progress into send_progress + send_tool_hints

This commit is contained in:
Re-bin
2026-02-23 07:12:41 +00:00
parent c20b867497
commit df2c837e25
4 changed files with 31 additions and 10 deletions

View File

@@ -193,8 +193,11 @@ class ChannelManager:
timeout=1.0
)
if msg.metadata.get("_progress") and not self.config.channels.send_progress:
continue
if msg.metadata.get("_progress"):
if msg.metadata.get("_tool_hint") and not self.config.channels.send_tool_hints:
continue
if not msg.metadata.get("_tool_hint") and not self.config.channels.send_progress:
continue
channel = self.channels.get(msg.channel)
if channel: