fix(agent-zero): use streamable http for chat mcp
This commit is contained in:
@@ -271,7 +271,7 @@ spec:
|
|||||||
# Traefik hostname so the pod stays off the private VIP lane that
|
# Traefik hostname so the pod stays off the private VIP lane that
|
||||||
# the default egress rule blocks.
|
# the default egress rule blocks.
|
||||||
if [ -n "${CHAT_MCP_API_KEY:-}" ]; then
|
if [ -n "${CHAT_MCP_API_KEY:-}" ]; then
|
||||||
export A0_SET_mcp_servers="{\"mcpServers\":{\"fc-chat\":{\"type\":\"http\",\"url\":\"http://chat-web.fc-chat.svc/mcp\",\"headers\":{\"X-Api-Key\":\"${CHAT_MCP_API_KEY}\"}}}}"
|
export A0_SET_mcp_servers="{\"mcpServers\":{\"fc-chat\":{\"type\":\"streamable-http\",\"url\":\"http://chat-web.fc-chat.svc/mcp\",\"headers\":{\"X-Api-Key\":\"${CHAT_MCP_API_KEY}\"}}}}"
|
||||||
fi
|
fi
|
||||||
# Run the original entrypoint
|
# Run the original entrypoint
|
||||||
exec /exe/initialize.sh $BRANCH
|
exec /exe/initialize.sh $BRANCH
|
||||||
|
|||||||
Reference in New Issue
Block a user