Skip to content

Commit

Permalink
v2.3.71
Browse files Browse the repository at this point in the history
  • Loading branch information
ashpreetbedi committed Apr 17, 2024
1 parent 85aa2e7 commit 3da6387
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions phi/assistant/assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ def llm_task(self) -> LLMTask:

tools = self.tools
if self.team and len(self.team) > 0:
self.update_assistant_team(self.team)
if tools is None:
tools = []
for assistant_index, assistant in enumerate(self.team):
Expand Down Expand Up @@ -316,11 +315,6 @@ def get_delegation_prompt(self) -> Optional[str]:
return delegation_prompt
return None

def update_assistant_team(self, team: List["Assistant"]) -> None:
"""Update the assistant team with memory from the current assistant."""
for assistant in team:
assistant.memory = self.memory

def to_database_row(self) -> AssistantRun:
"""Create a AssistantRun for the current Assistant (to save to the database)"""

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "phidata"
version = "2.3.70"
version = "2.3.71"
description = "Build AI Assistants with memory, knowledge and tools."
requires-python = ">=3.8"
readme = "README.md"
Expand Down

0 comments on commit 3da6387

Please sign in to comment.