Skip to content

Commit

Permalink
v2.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ashpreetbedi committed Oct 16, 2024
1 parent 7d862ed commit c198a81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions phi/agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,10 +862,10 @@ def get_system_message(self) -> Optional[Message]:
system_message_lines.append(system_message_from_model)
# 5.7 The add the expected output
if self.expected_output is not None:
system_message_lines.extend(f"## Expected output{self.expected_output}\n")
system_message_lines.append(f"## Expected output\n{self.expected_output}\n")
# 5.8 Then add additional context
if self.additional_context is not None:
system_message_lines.extend(f"{self.additional_context}\n")
system_message_lines.append(f"{self.additional_context}\n")
# 5.9 Then add information about the team members
if self.has_team():
system_message_lines.append(f"{self.get_transfer_prompt()}\n")
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.5.2"
version = "2.5.3"
description = "Build AI Agents with memory, knowledge and tools."
requires-python = ">=3.7"
readme = "README.md"
Expand Down

0 comments on commit c198a81

Please sign in to comment.