Skip to content

fix(supervisor): stream curl tool responses to client#1255

Merged
sriaradhyula merged 1 commit intomainfrom
prebuild/fix/supervisor-curl-response-streaming
Apr 19, 2026
Merged

fix(supervisor): stream curl tool responses to client#1255
sriaradhyula merged 1 commit intomainfrom
prebuild/fix/supervisor-curl-response-streaming

Conversation

@sriaradhyula
Copy link
Copy Markdown
Member

Summary

  • curl was grouped with RAG tools in a suppression block that silently drops ToolMessage content before it reaches the client
  • RAG tools are correctly suppressed — they return raw document chunks the LLM synthesizes internally, never the final answer
  • curl is different: when the user asks to run HTTP requests, the response body IS the answer
  • Fix removes curl from the suppression condition; RAG suppression unchanged

Root cause

Added in abf02bb (April 17) when curl was wired into the supervisor — suppressed to prevent large HTTP bodies hitting Slack appendStream limits, but this makes curl useless for direct HTTP request tasks.

Test plan

  • Ask supervisor to run curl POST requests (e.g. to httpbin.org) and verify responses appear in chat
  • Verify RAG queries still work without raw document chunks flooding the stream

Generated with Claude Code

@github-actions
Copy link
Copy Markdown
Contributor

✅ No proprietary content detected. This PR is clear for review!

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: jira
Repository: ghcr.io/cnoe-io/prebuild/mcp-jira
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/mcp-jira:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: netutils
Repository: ghcr.io/cnoe-io/prebuild/mcp-netutils
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/mcp-netutils:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: confluence
Repository: ghcr.io/cnoe-io/prebuild/mcp-confluence
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/mcp-confluence:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: pagerduty
Repository: ghcr.io/cnoe-io/prebuild/mcp-pagerduty
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/mcp-pagerduty:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: weather
Repository: ghcr.io/cnoe-io/prebuild/agent-weather
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-weather:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: confluence
Repository: ghcr.io/cnoe-io/prebuild/agent-confluence
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-confluence:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: backstage
Repository: ghcr.io/cnoe-io/prebuild/agent-backstage
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-backstage:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: argocd
Repository: ghcr.io/cnoe-io/prebuild/agent-argocd
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-argocd:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Repository: ghcr.io/cnoe-io/prebuild/ai-platform-engineering
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/ai-platform-engineering:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: jira
Repository: ghcr.io/cnoe-io/prebuild/agent-jira
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-jira:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: splunk
Repository: ghcr.io/cnoe-io/prebuild/mcp-splunk
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/mcp-splunk:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: victorops
Repository: ghcr.io/cnoe-io/prebuild/mcp-victorops
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/mcp-victorops:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: gitlab
Repository: ghcr.io/cnoe-io/prebuild/agent-gitlab
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-gitlab:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: template
Repository: ghcr.io/cnoe-io/prebuild/agent-template
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-template:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: pagerduty
Repository: ghcr.io/cnoe-io/prebuild/agent-pagerduty
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-pagerduty:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Component: server
Repository: ghcr.io/cnoe-io/prebuild/caipe-rag-server
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/caipe-rag-server:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: webex
Repository: ghcr.io/cnoe-io/prebuild/mcp-webex
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/mcp-webex:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: komodor
Repository: ghcr.io/cnoe-io/prebuild/mcp-komodor
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/mcp-komodor:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Component: agent-ontology
Repository: ghcr.io/cnoe-io/prebuild/caipe-rag-agent-ontology
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/caipe-rag-agent-ontology:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: victorops
Repository: ghcr.io/cnoe-io/prebuild/agent-victorops
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-victorops:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: argocd
Repository: ghcr.io/cnoe-io/prebuild/mcp-argocd
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/mcp-argocd:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: backstage
Repository: ghcr.io/cnoe-io/prebuild/mcp-backstage
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/mcp-backstage:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: komodor
Repository: ghcr.io/cnoe-io/prebuild/agent-komodor
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-komodor:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Component: ingestors
Repository: ghcr.io/cnoe-io/prebuild/caipe-rag-ingestors
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/caipe-rag-ingestors:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: github
Repository: ghcr.io/cnoe-io/prebuild/agent-github
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-github:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: splunk
Repository: ghcr.io/cnoe-io/prebuild/agent-splunk
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-splunk:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: webex
Repository: ghcr.io/cnoe-io/prebuild/agent-webex
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-webex:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: netutils
Repository: ghcr.io/cnoe-io/prebuild/agent-netutils
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-netutils:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: github
Repository: ghcr.io/cnoe-io/prebuild/mcp-github
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/mcp-github:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: slack
Repository: ghcr.io/cnoe-io/prebuild/agent-slack
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-slack:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Agent: aws
Repository: ghcr.io/cnoe-io/prebuild/agent-aws
Tag: fix-supervisor-curl-response-streaming-13

Usage

docker pull ghcr.io/cnoe-io/prebuild/agent-aws:fix-supervisor-curl-response-streaming-13

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

curl was grouped with RAG tools in a suppression block that silently
drops ToolMessage content before it reaches the client. RAG tools are
suppressed because they return raw document chunks the LLM synthesizes
internally — their output is never the final answer. curl is different:
when the user asks to run HTTP requests, the response body IS the answer.

Assisted-by: Claude:claude-sonnet-4-6
Signed-off-by: Sri Aradhyula <sraradhy@cisco.com>
@sriaradhyula sriaradhyula force-pushed the prebuild/fix/supervisor-curl-response-streaming branch from d3b4d61 to 1ff1f4a Compare April 19, 2026 02:25
@github-actions
Copy link
Copy Markdown
Contributor

✅ No proprietary content detected. This PR is clear for review!

@github-actions
Copy link
Copy Markdown
Contributor

🐳 Prebuild Docker Image Published

Repository: ghcr.io/cnoe-io/prebuild/ai-platform-engineering
Tag: fix-supervisor-curl-response-streaming-2

Usage

docker pull ghcr.io/cnoe-io/prebuild/ai-platform-engineering:fix-supervisor-curl-response-streaming-2

Note: This prebuild image will be automatically cleaned up when the PR is closed or merged.

@sriaradhyula sriaradhyula merged commit 62ed8fb into main Apr 19, 2026
26 checks passed
@sriaradhyula sriaradhyula deleted the prebuild/fix/supervisor-curl-response-streaming branch April 19, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant