Skip to content

[FEAT-AGENT][Added Graph of Thoughts agent] - #1202

Closed
IlumCI wants to merge 7 commits into
kyegomez:masterfrom
IlumCI:Graph-of-thought
Closed

[FEAT-AGENT][Added Graph of Thoughts agent]#1202
IlumCI wants to merge 7 commits into
kyegomez:masterfrom
IlumCI:Graph-of-thought

Merge branch 'kyegomez:master' into Graph-of-thought

6cc298f
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / Pyre failed Nov 19, 2025 in 6s

51 new alerts including 51 errors

New alerts in code changed by this pull request

  • 51 errors

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 10 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import loguru.

Check failure on line 203 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import numpy.

Check failure on line 216 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined or invalid type Error

Undefined or invalid type [11]: Annotation np.ndarray is not defined as a type.

Check failure on line 644 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Invalid except clause Error

Invalid except clause [66]: Exception handler type annotation unknown must extend BaseException.

Check failure on line 1089 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined or invalid type Error

Undefined or invalid type [11]: Annotation GoTAgent._ThoughtGraph is not defined as a type.

Check failure on line 1131 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Illegal annotation target Error

Illegal annotation target [35]: Target swarms.agents.GoTAgent._ThoughtEdge.source cannot be annotated.

Check failure on line 1132 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Illegal annotation target Error

Illegal annotation target [35]: Target swarms.agents.GoTAgent._ThoughtEdge.target cannot be annotated.

Check failure on line 1133 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Illegal annotation target Error

Illegal annotation target [35]: Target swarms.agents.GoTAgent._ThoughtEdge.relation cannot be annotated.

Check failure on line 1133 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined or invalid type Error

Undefined or invalid type [11]: Annotation GoTAgent._EdgeRelation is not defined as a type.

Check failure on line 1134 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Illegal annotation target Error

Illegal annotation target [35]: Target swarms.agents.GoTAgent._ThoughtEdge.weight cannot be annotated.

Check failure on line 1217 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Incompatible variable type Error

Incompatible variable type [9]: node_sub_cost is declared to have type typing.Callable[[str, str], float] but is used as type None.

Check failure on line 1289 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Illegal annotation target Error

Illegal annotation target [35]: Target swarms.agents.GoTAgent._GoTConfig.answer_prefix cannot be annotated.

Check failure on line 1290 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Illegal annotation target Error

Illegal annotation target [35]: Target swarms.agents.GoTAgent._GoTConfig.return_graph cannot be annotated.

Check failure on line 1381 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined or invalid type Error

Undefined or invalid type [11]: Annotation GoTAgent._LLMBackend is not defined as a type.

Check failure on line 1382 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined or invalid type Error

Undefined or invalid type [11]: Annotation GoTAgent._GoTConfig is not defined as a type.

Check failure on line 1767 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Illegal annotation target Error

Illegal annotation target [35]: Target swarms.agents.GoTAgent._ThoughtNode.id cannot be annotated.

Check failure on line 1768 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Illegal annotation target Error

Illegal annotation target [35]: Target swarms.agents.GoTAgent._ThoughtNode.text cannot be annotated.

Check failure on line 1769 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Illegal annotation target Error

Illegal annotation target [35]: Target swarms.agents.GoTAgent._ThoughtNode.node_type cannot be annotated.

Check failure on line 1769 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined or invalid type Error

Undefined or invalid type [11]: Annotation GoTAgent._NodeType is not defined as a type.

Check failure on line 1770 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Illegal annotation target Error

Illegal annotation target [35]: Target swarms.agents.GoTAgent._ThoughtNode.parents cannot be annotated.

Check failure on line 1771 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Illegal annotation target Error

Illegal annotation target [35]: Target swarms.agents.GoTAgent._ThoughtNode.children cannot be annotated.

Check failure on line 1772 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Illegal annotation target Error

Illegal annotation target [35]: Target swarms.agents.GoTAgent._ThoughtNode.embedding cannot be annotated.

Check failure on line 1773 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Illegal annotation target Error

Illegal annotation target [35]: Target swarms.agents.GoTAgent._ThoughtNode.score cannot be annotated.

Check failure on line 1774 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Illegal annotation target Error

Illegal annotation target [35]: Target swarms.agents.GoTAgent._ThoughtNode.metadata cannot be annotated.

Check failure on line 1783 in swarms/agents/GoTAgent.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined or invalid type Error

Undefined or invalid type [11]: Annotation GoTAgent._NodeMerger is not defined as a type.