diff --git a/agency_swarm/threads/thread.py b/agency_swarm/threads/thread.py index 5c3d0393..249b1125 100644 --- a/agency_swarm/threads/thread.py +++ b/agency_swarm/threads/thread.py @@ -433,7 +433,7 @@ def create_message(self, message: str, role: str = "user", attachments: List[dic attachments=attachments ) else: - raise Exception("Please start a new chat.") from e + raise e def execute_tool(self, tool_call, recipient_agent=None, event_handler=None, tool_outputs_and_names={}): if not recipient_agent: