From b71f93afb45f67478ba8ca13a35d35edb14839f4 Mon Sep 17 00:00:00 2001 From: Niel Teng Hu Date: Sun, 31 Dec 2023 00:32:43 -0500 Subject: [PATCH] fix bug (#113) --- actionweaver/llms/openai/tools/chat.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/actionweaver/llms/openai/tools/chat.py b/actionweaver/llms/openai/tools/chat.py index 9144138..9bc81d8 100644 --- a/actionweaver/llms/openai/tools/chat.py +++ b/actionweaver/llms/openai/tools/chat.py @@ -114,7 +114,7 @@ def _invoke_tool( Tools.from_expr( expr, ), - (stop, *called_tools[name]), + (stop, called_tools[name]), ) else: # if multiple type of functions are invoked, use the same set of tools next api call diff --git a/pyproject.toml b/pyproject.toml index f1c03d6..586c354 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "actionweaver" -version = "0.0.20" +version = "0.0.21" description = "An Application Framework for Building LLM Agents" authors = ['Teng "Niel" Hu '] readme = "README.md"