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

Fix agent member 2 #33

Merged
merged 2 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions polymind/core/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ async def __call__(self, input: Message) -> Message:
"""
if not self.thought_process:
raise ValueError("The thought process of the agent needs to be hooked first.")
self._input_preprocess(self, input)
return await self.thought_process(input)
self._input_preprocess(agent=self, input=input)
return await self.thought_process(agent=self, input=input)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "polymind"
version = "0.0.20" # Update this version before publishing to PyPI
version = "0.0.21" # Update this version before publishing to PyPI
description = "PolyMind is a customizable collaborative multi-agent framework for collective intelligence and distributed problem solving."
authors = ["TechTao"]
license = "MIT License"
Expand Down
Loading