From 72d5b0fb13bea2935ff0d047235eebc8307c3a04 Mon Sep 17 00:00:00 2001 From: Nam Vu Date: Fri, 26 Jan 2024 00:00:14 +0700 Subject: [PATCH] Fix "invalid_tool: {tool_name} is not a valid tool, try one of {tool_name}" --- salesgpt/prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salesgpt/prompts.py b/salesgpt/prompts.py index cf2ab764..0036a104 100644 --- a/salesgpt/prompts.py +++ b/salesgpt/prompts.py @@ -31,7 +31,7 @@ ``` Thought: Do I need to use a tool? Yes -Action: the action to take, should be one of {tools} +Action: the action to take, should be one of [{tool_names}] Action Input: the input to the action, always a simple string input Observation: the result of the action ```