julep icon indicating copy to clipboard operation
julep copied to clipboard

[Bug]: Task def gets many duplicate copies of tools

Open creatorrr opened this issue 9 months ago • 1 comments
trafficstars

📜 Description

For example, here's the context for one of the workflows (this one):

"tools": [
  {
    "type": "api_call",
    "name": "generate_clip",
    "spec": {
      "method": "POST",
      "url": "https://api.replicate.com/v1/models/minimax/video-01/predictions",
      "schema_": null,
      "headers": {
        "Prefer": "wait",
        "Content-Type": "application/json",
        "Authorization": "Bearer key"
      },
      "content": null,
      "data": null,
      "files": null,
      "json_": null,
      "cookies": null,
      "params": null,
      "follow_redirects": null,
      "timeout": null
    },
    "inherited": false
  },
  {
    "type": "api_call",
    "name": "call_replicate",
    "spec": {
      "method": "POST",
      "url": "https://api.replicate.com/v1/predictions",
      "schema_": null,
      "headers": {
        "Prefer": "wait",
        "Content-Type": "application/json",
        "Authorization": "Bearer key"
      },
      "content": null,
      "data": null,
      "files": null,
      "json_": null,
      "cookies": null,
      "params": null,
      "follow_redirects": null,
      "timeout": null
    },
    "inherited": false
  },
  {
    "type": "api_call",
    "name": "generate_clip",
    "spec": {
      "method": "POST",
      "url": "https://api.replicate.com/v1/models/minimax/video-01/predictions",
      "schema_": null,
      "headers": {
        "Prefer": "wait",
        "Content-Type": "application/json",
        "Authorization": "Bearer key"
      },
      "content": null,
      "data": null,
      "files": null,
      "json_": null,
      "cookies": null,
      "params": null,
      "follow_redirects": null,
      "timeout": null
    },
    "inherited": false
  },
  {
    "type": "api_call",
    "name": "call_replicate",
    "spec": {
      "method": "POST",
      "url": "https://api.replicate.com/v1/predictions",
      "schema_": null,
      "headers": {
        "Prefer": "wait",
        "Content-Type": "application/json",
        "Authorization": "Bearer key"
      },
      "content": null,
      "data": null,
      "files": null,
      "json_": null,
      "cookies": null,
      "params": null,
      "follow_redirects": null,
      "timeout": null
    },
    "inherited": false
  },
  {
    "type": "api_call",
    "name": "generate_clip",
    "spec": {
      "method": "POST",
      "url": "https://api.replicate.com/v1/models/minimax/video-01/predictions",
      "schema_": null,
      "headers": {
        "Prefer": "wait",
        "Content-Type": "application/json",
        "Authorization": "Bearer key"
      },
      "content": null,
      "data": null,
      "files": null,
      "json_": null,
      "cookies": null,
      "params": null,
      "follow_redirects": null,
      "timeout": null
    },
    "inherited": false
  },
  {
    "type": "api_call",
    "name": "call_replicate",
    "spec": {
      "method": "POST",
      "url": "https://api.replicate.com/v1/predictions",
      "schema_": null,
      "headers": {
        "Prefer": "wait",
        "Content-Type": "application/json",
        "Authorization": "Bearer key"
      },
      "content": null,
      "data": null,
      "files": null,
      "json_": null,
      "cookies": null,
      "params": null,
      "follow_redirects": null,
      "timeout": null
    },
    "inherited": false
  },
  {
    "type": "api_call",
    "name": "generate_clip",
    "spec": {
      "method": "POST",
      "url": "https://api.replicate.com/v1/models/minimax/video-01/predictions",
      "schema_": null,
      "headers": {
        "Prefer": "wait",
        "Content-Type": "application/json",
        "Authorization": "Bearer key"
      },
      "content": null,
      "data": null,
      "files": null,
      "json_": null,
      "cookies": null,
      "params": null,
      "follow_redirects": null,
      "timeout": null
    },
    "inherited": false
  }
]

👟 Reproduction steps

No response

👀 Have you searched previous issues to see if this has been raised before?

  • [x] I checked and didn't find similar issue

creatorrr avatar Feb 02 '25 16:02 creatorrr