Skip to content

fix: correct node type values in agent.py to match DAGManager definitions#73

Open
bunnysayzz wants to merge 1 commit into
Integuru-AI:mainfrom
bunnysayzz:main
Open

fix: correct node type values in agent.py to match DAGManager definitions#73
bunnysayzz wants to merge 1 commit into
Integuru-AI:mainfrom
bunnysayzz:main

Conversation

@bunnysayzz

Copy link
Copy Markdown

Description

Fixes invalid node type values in agent.py that don't match DAGManager.NODE_TYPES (defined as {"cookie", "master", "cURL"}).

Bug 1: url_to_curl uses "master_curl" instead of "master"

In agent.py:url_to_curl, the node was created with node_type="master_curl" which is not a supported type. The correct type is "master". This caused DAGManager to store an unrecognized node type.

Reported in: #33

Bug 2: find_curl_from_content uses "curl" instead of "cURL"

Same file, find_curl_from_content - the node was created with node_type="curl" (lowercase) but DAGManager expects "cURL" (capital C, uppercase RL).

Changes

  • integuru/agent.py: Changed node_type="master_curl" to node_type="master"
  • integuru/agent.py: Changed node_type="curl" to node_type="cURL"

Closes #33

…ions

## Changes\n\n1. **url_to_curl method**: Changed "master_curl" to "master" - DAGManager.NODE_TYPES only supports {"cookie", "master", "cURL"}, so "master_curl" was invalid.\n\n2. **find_curl_from_content method**: Changed "curl" to "cURL" - same mismatch, DAGManager expects capital "cURL" but lowercase "curl" was used.\n\nCloses Integuru-AI#33
@CLAassistant

CLAassistant commented Jul 21, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Node type is incorrect at url_to_curl method in agent.py

2 participants