From 794bac799d662784e479ae2eb6f3fed1a1e3ce2a Mon Sep 17 00:00:00 2001 From: cobycloud <25079070+cobycloud@users.noreply.github.com> Date: Mon, 8 Jul 2024 09:11:06 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A2=20v0.3.9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- swarmauri/__init__.py | 2 +- swarmauri/standard/llms/concrete/CohereToolModel.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/swarmauri/__init__.py b/swarmauri/__init__.py index ce7047cd7..17516cbe5 100644 --- a/swarmauri/__init__.py +++ b/swarmauri/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.3.8.dev116" +__version__ = "0.3.9" __long_desc__ = """ # swarmaURI sdk diff --git a/swarmauri/standard/llms/concrete/CohereToolModel.py b/swarmauri/standard/llms/concrete/CohereToolModel.py index 08098c649..feb8a5cfe 100644 --- a/swarmauri/standard/llms/concrete/CohereToolModel.py +++ b/swarmauri/standard/llms/concrete/CohereToolModel.py @@ -49,7 +49,6 @@ def predict(self, tools=self._schema_convert_tools(toolkit.tools) ) - logging.info(f"tool_response: {tool_response}") logging.info(tool_response.text) tool_results = [] @@ -64,7 +63,7 @@ def predict(self, logging.info(f"tool_results: {tool_results}") agent_response = client.chat( model=self.name, - message="", + message=formatted_messages[-1]['content'], chat_history=formatted_messages[:-1], tools=self._schema_convert_tools(toolkit.tools), force_single_step=True,