code quality clean up

Former-commit-id: 34ef795b72
group-chat
Kye 1 year ago
parent 229766f27e
commit 868a9c9c38

@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "swarms"
version = "1.7.1"
version = "1.7.2"
description = "Swarms - Pytorch"
license = "MIT"
authors = ["Kye Gomez <kye@apac.ai>"]

@ -6,7 +6,6 @@ from langchain.chains.llm import LLMChain
from swarms.agents.utils.Agent import AgentOutputParser
from swarms.agents.utils.human_input import HumanInputRun
from swarms.memory.base import VectorStoreRetriever
from swarms.memory.base_memory import BaseChatMessageHistory, ChatMessageHistory
from swarms.memory.document import Document
from swarms.models.base import AbstractModel
@ -29,7 +28,7 @@ class Agent:
self,
ai_name: str,
chain: LLMChain,
memory: VectorStoreRetriever,
memory,
output_parser: AgentOutputParser,
tools: List[BaseTool],
feedback_tool: Optional[HumanInputRun] = None,
@ -49,7 +48,7 @@ class Agent:
cls,
ai_name: str,
ai_role: str,
memory: VectorStoreRetriever,
memory,
tools: List[BaseTool],
llm: AbstractModel,
human_in_the_loop: bool = False,

Before

Width:  |  Height:  |  Size: 256 KiB

After

Width:  |  Height:  |  Size: 256 KiB

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Before

Width:  |  Height:  |  Size: 286 KiB

After

Width:  |  Height:  |  Size: 286 KiB

Before

Width:  |  Height:  |  Size: 555 KiB

After

Width:  |  Height:  |  Size: 555 KiB

Before

Width:  |  Height:  |  Size: 373 KiB

After

Width:  |  Height:  |  Size: 373 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save