Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

668 #680

Merged
merged 6 commits into from
Dec 17, 2024

Merge branch 'master' into 668

8018760
Select commit
Loading
Failed to load commit list.
Merged

668 #680

Merge branch 'master' into 668
8018760
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / Pyre failed Dec 17, 2024 in 6s

48 new alerts including 48 errors

New alerts in code changed by this pull request

  • 48 errors

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 13 in example.py

See this annotation in the file changed.

Code scanning / Pyre

Incompatible parameter type Error

Incompatible parameter type [6]: In call swarms.structs.agent.Agent.\_\_init\_\_, for argument max\_loops, expected Optional[int] but got str.

Check failure on line 152 in new_features_examples/insurance_agent.py

See this annotation in the file changed.

Code scanning / Pyre

Incompatible parameter type Error

Incompatible parameter type [6]: In call swarms.structs.agent.Agent.\_\_init\_\_, for argument max\_loops, expected Optional[int] but got str.

Check failure on line 27 in new_features_examples/ollama_demo.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 swarm\_models.

Check failure on line 5 in new_features_examples/solana_agent.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 7 in new_features_examples/solana_agent.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 base58.

Check failure on line 14 in new_features_examples/solana_agent.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 solders.rpc.responses.

Check failure on line 15 in new_features_examples/solana_agent.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 solders.transaction.

Check failure on line 16 in new_features_examples/solana_agent.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 anchorpy.

Check failure on line 17 in new_features_examples/solana_agent.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 solders.keypair.

Check failure on line 18 in new_features_examples/solana_agent.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 aiohttp.

Check failure on line 77 in new_features_examples/solana_agent.py

See this annotation in the file changed.

Code scanning / Pyre

Incompatible attribute type Error

Incompatible attribute type [8]: Attribute program\_logs declared in class TransactionData has type List[str] but is used as type None.

Check failure on line 155 in new_features_examples/solana_agent.py

See this annotation in the file changed.

Code scanning / Pyre

Missing argument Error

Missing argument [20]: Call TransactionData.\_\_init\_\_ expects argument block\_time.

Check failure on line 167 in new_features_examples/solana_agent.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined attribute Error

Undefined attribute [16]: swarms.structs.agent.Agent has no attribute run\_async.

Check failure on line 223 in new_features_examples/solana_agent.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined or invalid type Error

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

Check failure on line 235 in new_features_examples/solana_agent.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined or invalid type Error

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

Check failure on line 157 in new_features_examples/swarm_router_example.py

See this annotation in the file changed.

Code scanning / Pyre

Incompatible parameter type Error

Incompatible parameter type [6]: In call swarms.structs.swarm\_router.SwarmRouter.\_\_init\_\_, for argument agents, expected List[Union[typing.Callable[..., typing.Any], Agent]] but got List[Agent].

Check failure on line 5 in swarm_builder.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 pydantic.

Check failure on line 6 in swarm_builder.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 pydantic.v1.

Check failure on line 7 in swarm_builder.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 12 in swarm_builder.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 tenacity.

Check failure on line 14 in swarm_builder.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 swarm\_models.

Check failure on line 58 in swarm_builder.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined or invalid type Error

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

Check failure on line 5 in swarms/artifacts/main_artifact.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 pydantic.

Check failure on line 6 in swarms/artifacts/main_artifact.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 pydantic.v1.

Check failure on line 38 in swarms/structs/agent_router.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 chromadb.