Skip to content

Commit d46aa92

Browse files
committed
code clean up and new verison
1 parent 4b12881 commit d46aa92

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

examples/multi_agent/concurrent_examples/concurrent_workflow_autosave_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def main():
4444
print(f"Workspace directory: {workflow.swarm_workspace_dir}")
4545

4646
# Run a task
47-
result = workflow.run(
47+
workflow.run(
4848
"Write a short paragraph about artificial intelligence."
4949
)
5050

examples/multi_agent/hiearchical_swarm/hierarchical_swarm_autosave_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def main():
4444
print(f"Workspace directory: {swarm.swarm_workspace_dir}")
4545

4646
# Run a task
47-
result = swarm.run(
47+
swarm.run(
4848
"Write a short paragraph about artificial intelligence."
4949
)
5050

examples/multi_agent/sequential_workflow/sequential_workflow_autosave_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def main():
4545
print(f"Workspace directory: {workflow.swarm_workspace_dir}")
4646

4747
# Run a task
48-
result = workflow.run(
48+
workflow.run(
4949
"Write a short paragraph about artificial intelligence."
5050
)
5151

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
55

66
[tool.poetry]
77
name = "swarms"
8-
version = "9.0.1"
8+
version = "9.0.2"
99
description = "Swarms - TGSC"
1010
license = "MIT"
1111
authors = ["Kye Gomez <[email protected]>"]

swarms/structs/llm_council.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,9 @@ def run(self, task: str = None, query: str = None):
395395
"""
396396
query = task or query
397397
if query is None:
398-
raise ValueError("Either 'task' or 'query' must be provided")
398+
raise ValueError(
399+
"Either 'task' or 'query' must be provided"
400+
)
399401
if self.verbose:
400402
print(f"\n{'='*80}")
401403
print("🏛️ LLM COUNCIL SESSION")

0 commit comments

Comments
 (0)