Skip to content

Commit

Permalink
Merge pull request #169 from bonk1t/fix/base-tool-add-instr
Browse files Browse the repository at this point in the history
Make BaseTool.additional_instructions parameter optional
  • Loading branch information
VRSEN authored Sep 21, 2024
2 parents 19f470e + ae7caed commit bc263af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agency_swarm/agency/agency.py
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ class SendMessage(BaseTool):
message_files: Optional[List[str]] = Field(default=None,
description="A list of file ids to be sent as attachments to this message. Only use this if you have the file id that starts with 'file-'.",
examples=["file-1234", "file-5678"])
additional_instructions: str = Field(default=None,
additional_instructions: Optional[List[str]] = Field(default=None,
description="Any additional instructions or clarifications that you would like to provide to the recipient agent.")

class ToolConfig:
Expand Down

0 comments on commit bc263af

Please sign in to comment.