From 31e304305920bdbd1028f2cd3834df2d6e5079fa Mon Sep 17 00:00:00 2001 From: Kye Gomez Date: Sat, 22 Nov 2025 21:48:11 -0800 Subject: [PATCH] [LLMCouncil][Fix import issue with agent] --- llm_council_example.py | 4 ---- pyproject.toml | 2 +- swarms/structs/llm_council.py | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/llm_council_example.py b/llm_council_example.py index 078d5360..26f4bfec 100644 --- a/llm_council_example.py +++ b/llm_council_example.py @@ -1,6 +1,5 @@ from swarms.structs.llm_council import LLMCouncil -# Example usage of the LLM Council without a function: # Create the council council = LLMCouncil(verbose=True) @@ -14,9 +13,6 @@ result = council.run(query) print(result["final_response"]) # Optionally print evaluations -print("\n\n" + "="*80) -print("EVALUATIONS") -print("="*80) for name, evaluation in result["evaluations"].items(): print(f"\n{name}:") print(evaluation[:500] + "..." if len(evaluation) > 500 else evaluation) diff --git a/pyproject.toml b/pyproject.toml index dceec924..0336f41f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "swarms" -version = "8.6.4" +version = "8.6.5" description = "Swarms - TGSC" license = "MIT" authors = ["Kye Gomez "] diff --git a/swarms/structs/llm_council.py b/swarms/structs/llm_council.py index 864ec976..b422136b 100644 --- a/swarms/structs/llm_council.py +++ b/swarms/structs/llm_council.py @@ -12,7 +12,7 @@ often selecting responses from other models as superior to their own. from typing import Dict, List, Optional import random -from swarms import Agent +from swarms.structs.agent import Agent from swarms.structs.multi_agent_exec import ( run_agents_concurrently, batched_grid_agent_execution,